From 2fa1a122f1413d8b17bf7d9b214df4376908fb33 Mon Sep 17 00:00:00 2001 From: Elijah R Date: Mon, 8 Apr 2024 22:02:26 -0400 Subject: [PATCH] that again because im fucking stupid --- CollabVMAuthServer/HTTP/Routes.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CollabVMAuthServer/HTTP/Routes.cs b/CollabVMAuthServer/HTTP/Routes.cs index 36b49d3..23b633d 100644 --- a/CollabVMAuthServer/HTTP/Routes.cs +++ b/CollabVMAuthServer/HTTP/Routes.cs @@ -1043,7 +1043,7 @@ public static class Routes { await Program.Database.RegisterAccount(payload.username, payload.email, dob, payload.password, true, ip, null); var token = Utilities.RandomString(32); - await Program.Database.CreateSession(user.Username, token, ip); + await Program.Database.CreateSession(payload.username, token, ip); return Results.Json(new RegisterResponse { success = true,