From 2f7da902c9afeb3df31f59fa6c16223990f51eb6 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Wed, 14 Dec 2022 10:38:08 +0100 Subject: feat: Working email validation --- code/api/src/Endpoints/Internal/Account/LoginRoute.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'code/api/src/Endpoints/Internal/Account/LoginRoute.cs') diff --git a/code/api/src/Endpoints/Internal/Account/LoginRoute.cs b/code/api/src/Endpoints/Internal/Account/LoginRoute.cs index eaebc2a..8a3dff4 100644 --- a/code/api/src/Endpoints/Internal/Account/LoginRoute.cs +++ b/code/api/src/Endpoints/Internal/Account/LoginRoute.cs @@ -1,5 +1,3 @@ -using Microsoft.Extensions.Localization; - namespace IOL.GreatOffice.Api.Endpoints.Internal.Account; public class LoginRoute : RouteBaseAsync.WithRequest.WithActionResult @@ -29,7 +27,7 @@ public class LoginRoute : RouteBaseAsync.WithRequest.WithAct return KnownProblem(_localizer["Invalid username or password"]); } - await _userService.LogInUser(HttpContext, user, request.Persist); + await _userService.LogInUserAsync(HttpContext, user, request.Persist); return Ok(); } } \ No newline at end of file -- cgit v1.3