michaelburns / LaunchPad

PowerShell Web Portal
MIT License
90 stars 13 forks source link

Initial Admin Account Creation - Using Role Name Instead of Id in GetAdminAsync #6

Closed michaelburns closed 8 years ago

michaelburns commented 8 years ago

await _identityManager.AddUserToRole(admin.Id, "User Admin");

should be:

await _identityManager.AddUserToRole(admin.Id, adminRoleId);

michaelburns commented 8 years ago

Fixed with https://github.com/michaelburns/LaunchPad/commit/e08a341df50219e1bdefa2f1cdf29e6427542855