aboutsummaryrefslogtreecommitdiffstats
path: root/code/api/src/Endpoints/Internal/Account/CreateInitialAccountRoute.cs
diff options
context:
space:
mode:
Diffstat (limited to 'code/api/src/Endpoints/Internal/Account/CreateInitialAccountRoute.cs')
-rw-r--r--code/api/src/Endpoints/Internal/Account/CreateInitialAccountRoute.cs2
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