Base solution for your next web application
Open Closed

Reset Password on Angular #6015


User avatar
0
tugrulkarakaya created

Change PAssword setting for tenants on settign area (forexample 3 mandatory character) create new tenant assign random password and set change password at the next login password ruels does not work at that screen to change the password. but that rules suceessfulyl works on change my password. that rules should work on both screen

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

4 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Thanks @tugrulkarakaya

    I have created an issue https://github.com/aspnetzero/aspnet-zero-core/issues/1955

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    aaron created
    Support Team

    Hi tugrulkarakaya, which version are you on?

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    tugrulkarakaya created

    6.0.0.0

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    aaron created
    Support Team

    Should be fixed in v6.1.

    public async Task<ResetPasswordOutput> ResetPassword(ResetPasswordInput input)
    {
        ...
    
        await UserManager.InitializeOptionsAsync(AbpSession.TenantId); // This was added
        CheckErrors(await UserManager.ChangePasswordAsync(user, input.Password));
        ...
    }
    
    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)