Description
Here are steps to add an admin account in CMS 12 when ASP.NET Identity is used.
Steps
- Ensure
AddAdminUserRegistration
in the startup class.
services
.AddCmsAspNetIdentity<ApplicationUser>()
.AddCms()
.AddAdminUserRegistration()
.AddEmbeddedLocalization<Startup>();
} - Browse to https://yoursite.com/util/register
- If that fails, you may try this.
.AddAdminUserRegistration(opt => { opt.Behavior = EPiServer.Cms.Shell.UI.RegisterAdminUserBehaviors.Enabled; });
Please sign in to leave a comment.