diff --git a/src/Tgstation.Server.Host/Database/DatabaseSeeder.cs b/src/Tgstation.Server.Host/Database/DatabaseSeeder.cs index 2bb5265c16..962e88e1df 100644 --- a/src/Tgstation.Server.Host/Database/DatabaseSeeder.cs +++ b/src/Tgstation.Server.Host/Database/DatabaseSeeder.cs @@ -218,7 +218,7 @@ namespace Tgstation.Server.Host.Database } /// - /// Changes the admin password in back to it's default and enables the account + /// Changes the admin password in back to it's default, enables the account, and gives it access. /// /// The to reset the admin password for /// The for the operation @@ -229,6 +229,7 @@ namespace Tgstation.Server.Host.Database if (admin != null) { admin.Enabled = true; + admin.AdministrationRights |= AdministrationRights.WriteUsers; cryptographySuite.SetUserPassword(admin, Api.Models.User.DefaultAdminPassword, false); }