diff --git a/server/services/UserService.ts b/server/services/UserService.ts index a44828e..c0ebb42 100644 --- a/server/services/UserService.ts +++ b/server/services/UserService.ts @@ -80,6 +80,7 @@ export default class UserService { } const user = new User(); + user.UserLevel = UserLevel.User; user.Username = username; user.PasswordSalt = PasswordUtility.GenerateSalt(); user.PasswordHash = await PasswordUtility.HashPassword(user.PasswordSalt, password);