I am on the latest zero version. And the Angular version. Password complexity isn't working. It used to work and I just recently updated to 5.6.2. Has anyone else had this issue?
6 Answer(s)
-
0
The most recent version has not modified the password complexity related functions.
Do you see if there is a problem with the password complexity setting?
-
0
I realized its actually with reset password. When you mark a user for change password on next login. The password complexity isn't working. Everywhere else is fine.
-
0
@joe704la have you tried on a raw v5.6.2 download ?
-
0
Yes I have. Same issue. I even did it on a demo on the aspnet zero site.
-
0
<a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/blob/10aaf4df7ec6d1599096273aa276026730c0088f/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Application/Authorization/Accounts/AccountAppService.cs#L133">https://github.com/aspnetzero/aspnet-ze ... ce.cs#L133</a>
UserManager's Update method does not perform password verification. So we have to change the password using UserManager's ChangePassword.
<a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues/1558">https://github.com/aspnetzero/aspnet-ze ... ssues/1558</a>
You can temporarily use
await UserManager.ChangePasswordAsync(user, input.Password);
UI also needs to be updated synchronously.
-
0
I actually did figure that out. I made a change to both UI and backend. I should have updated it here. Tha k you.