diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2022-12-14 10:38:08 +0100 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2022-12-14 10:38:08 +0100 |
| commit | 2f7da902c9afeb3df31f59fa6c16223990f51eb6 (patch) | |
| tree | da258139ba2ef663a3061f00bbf7257ef723b958 /code/api/src/Endpoints/Internal/Account/CreateInitialAccountRoute.cs | |
| parent | 0557de9f069dc620539409aced67e2ad61d25395 (diff) | |
| download | greatoffice-2f7da902c9afeb3df31f59fa6c16223990f51eb6.tar.xz greatoffice-2f7da902c9afeb3df31f59fa6c16223990f51eb6.zip | |
feat: Working email validation
Diffstat (limited to 'code/api/src/Endpoints/Internal/Account/CreateInitialAccountRoute.cs')
| -rw-r--r-- | code/api/src/Endpoints/Internal/Account/CreateInitialAccountRoute.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/code/api/src/Endpoints/Internal/Account/CreateInitialAccountRoute.cs b/code/api/src/Endpoints/Internal/Account/CreateInitialAccountRoute.cs index 56ff9c6..01cad3f 100644 --- a/code/api/src/Endpoints/Internal/Account/CreateInitialAccountRoute.cs +++ b/code/api/src/Endpoints/Internal/Account/CreateInitialAccountRoute.cs @@ -26,7 +26,7 @@ public class CreateInitialAccountRoute : RouteBaseAsync.WithoutRequest.WithActio user.HashAndSetPassword("ivar123"); _database.Users.Add(user); await _database.SaveChangesAsync(cancellationToken); - await _userService.LogInUser(HttpContext, user); + await _userService.LogInUserAsync(HttpContext, user); return Redirect("/"); } }
\ No newline at end of file |
