From 10ca6b6f59d47899fcb6a7d8ae87882d779924d0 Mon Sep 17 00:00:00 2001 From: AVild Date: Mon, 4 Sep 2023 22:53:47 -0400 Subject: [PATCH] fix: (Day) Fix issue where emails were not used when searching for a user to send a recovery email to send and the user was not online (#1894) --- Intersect.Server/Database/PlayerData/User.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Intersect.Server/Database/PlayerData/User.cs b/Intersect.Server/Database/PlayerData/User.cs index 693a6c864e..6dbb1b24c6 100644 --- a/Intersect.Server/Database/PlayerData/User.cs +++ b/Intersect.Server/Database/PlayerData/User.cs @@ -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)