-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SetupAdminAccount.aspx & OWIN customizations #38
Comments
I will look into it. Thanks for reporting!
|
Sorry for the late response. The problem is that the Owin context isn't used but instead a default UserManager is created when users are created, both in the initial setup page but also within the admin UI. I will fix this in the next version (1.1.0) |
Besides reference the updated KalikoCMS.Identity existing projects need to update the following files: Startup.Auth.cs dc4eb10#diff-ef7c0a70ac9892ac1d2bfb873a7d70a8 SetupAdminAccount.aspx dc4eb10#diff-46a6112a12e06cbe2d9ce23d51e5a2ab |
Great stuff! Will download and give feedback. |
Cool. It works. Seeing as you hadnt released any code I had to "hack around a bit". Here's what I did:
You can close out this entry once you ship your updated 1.1.0 version (or mark as fixed for that version if you wish) |
Thanks for the feedback! I hope to have 1.1.0 ready pretty soon if all goes well. |
Noticed this behaviour in both releases. If you make any changes to the default OWIN behaviour whilst setting up a new project, these changes are not reflected at runtime.
Example:
In the ApplicationUserManager Create method, make a change to manager.PasswordValidator by setting RequiredLength = 5, OWIN will still prompt the user to create a password of minimum of 6 characters
The text was updated successfully, but these errors were encountered: