Skip to content
This repository was archived by the owner on Jul 10, 2024. It is now read-only.

Commit 2a95898

Browse files
natemcmasterdavidfowl
authored andcommitted
Update 4. Add auth features.md (#84)
1 parent 73b1ed5 commit 2a95898

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/4. Add auth features.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,8 @@ In this module we're going to add the capability for users to register and sign-
212212
{
213213
// Set as admin user
214214
user.IsAdmin = true;
215+
// In the event user creation fails in the next few lines, set this so the admin key box still shows up on the retry page
216+
AllowAdminCreation = true;
215217
}
216218

217219
var result = await _userManager.CreateAsync(user, Input.Password);

0 commit comments

Comments
 (0)