Closed LosManos closed 5 years ago
Yeah its a dupe of #774 same issue, the UI has a model validation attribute which controls that error message, while the IdentityOptions is configuring identity itself
Does this mean the suggested solution would be to scaffold out the 4 pages and change the StringLength
attribute?
Yep exactly
Describe the bug
Setting password length through
does not change the non-scaffolded razor page as it always says "The Password must be at least 6 and at max 100 characters long." if inputed password is < 6 characters.
To Reproduce
Steps to reproduce the behavior:
to method
ConfigureServices
.Expected behavior
The web page should have been updated with information about successful creation of user.
Actual behaviour
The web page says "The Password must be at least 6 and at max 100 characters long."
Additional context
I have a question at stack overflow https://stackoverflow.com/questions/53620708/how-do-i-set-password-options-in-aspnet-core-2-1 that explains the same issue if this is not clear enough.
This issue might be duplicate of #774.