When user’s email matches employees email, resetting password crashes server.
Forgot to give version of server: Manager 17.4.93
Unhandled Exception:
System.InvalidOperationException: Sequence contains more than one matching element
at System.Linq.Enumerable.SingleOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x0004a] in <c716d84e34fc4c408a98d9a0c1024723>:0
at ManagerServer.HttpHandlers.ResetPassword.Post () [0x0006b] in <e7d779b3abc04ec89249e3b6e6635117>:0
at HttpFramework.HttpApplication.ProcessRequest (HttpFramework.HttpRequest request, HttpFramework.HttpResponse response) [0x000bf] in <6625ac31471646729eb57afe52ea0598>:0
at HttpFramework.HttpServer.Worker () [0x0008f] in <6625ac31471646729eb57afe52ea0598>:0
at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in <4dc8ec68b0964e099af86e50301f5f3c>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <4dc8ec68b0964e099af86e50301f5f3c>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <4dc8ec68b0964e099af86e50301f5f3c>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <4dc8ec68b0964e099af86e50301f5f3c>:0
at System.Threading.ThreadHelper.ThreadStart () [0x00008] in <4dc8ec68b0964e099af86e50301f5f3c>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException: Sequence contains more than one matching element
at System.Linq.Enumerable.SingleOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x0004a] in <c716d84e34fc4c408a98d9a0c1024723>:0
at ManagerServer.HttpHandlers.ResetPassword.Post () [0x0006b] in <e7d779b3abc04ec89249e3b6e6635117>:0
at HttpFramework.HttpApplication.ProcessRequest (HttpFramework.HttpRequest request, HttpFramework.HttpResponse response) [0x000bf] in <6625ac31471646729eb57afe52ea0598>:0
at HttpFramework.HttpServer.Worker () [0x0008f] in <6625ac31471646729eb57afe52ea0598>:0
at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in <4dc8ec68b0964e099af86e50301f5f3c>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <4dc8ec68b0964e099af86e50301f5f3c>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <4dc8ec68b0964e099af86e50301f5f3c>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <4dc8ec68b0964e099af86e50301f5f3c>:0
at System.Threading.ThreadHelper.ThreadStart () [0x00008] in <4dc8ec68b0964e099af86e50301f5f3c>:0