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;
}
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
4 Answer(s)
-
0
I will fix it, thanks for feedback.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Can i take this responsibility?:)
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Waiting for your PR :) https://github.com/aspnetzero/aspnet-zero-core/pulls
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)