Skip to content

Commit

Permalink
fix: (Day) Fix issue where emails were not used when searching for a …
Browse files Browse the repository at this point in the history
…user to send a recovery email to send and the user was not online (#1894)
  • Loading branch information
AlexVild authored Sep 5, 2023
1 parent b6071e5 commit 10ca6b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Intersect.Server/Database/PlayerData/User.cs
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ public static User FindFromNameOrEmail(string nameOrEmail)
{
using (var context = DbInterface.CreatePlayerContext())
{
return User.PostLoad(QueryUserByName(context, nameOrEmail));
return User.PostLoad(QueryUserByNameOrEmail(context, nameOrEmail));
}
}
catch (Exception ex)
Expand Down

0 comments on commit 10ca6b6

Please sign in to comment.