0
defacto created
At this and this lines we send a mail to users to inform them about their accounts. But this mail doesn't contain password if we check "Set random password" checkbox checked. This is a desired behaviour? If so, how a user would log in the system.
This fixes the issue.
if (input.SetRandomPassword)
{
var randomPassword = User.CreateRandomPassword();
user.Password = _passwordHasher.HashPassword(user, randomPassword);
input.User.Password = randomPassword;
}
4 Answer(s)
-
0
I will fix it, thanks for feedback.
-
0
Can i take this responsibility?:)
-
0
Waiting for your PR :) https://github.com/aspnetzero/aspnet-zero-core/pulls
Have an answer to this question?
Log in
and write your answer.