Open Closed

User change password not working properly #8710


User avatar
0
dfzamora created
  • ABP Framework version: v8.2

  • UI Type: Angular

  • Database System: EF Core (SQL Server)

  • Tiered (for MVC) or Auth Server Separated (for Angular): no

  • Steps to reproduce the issue:

Hello, in my application I need to create users, after the user is created I need to force them to change their password, I decided to start using that feature from abpio
image.png
as you can see in the image, I set the password as 1q2w3E* for the new user, and it will be forced to reset its password,
The issue comes out when I try to log in with the user,

image.png

In the login form I can write whatever password I want, if the username is correct then the login form redirects to password change form (in my opinion this is wrong, the user should not be able to move forward if it is not writing the right password)

image.png

Once the change password form is fulfilled, I see another issue, and it is that there is a missing refresh
image.png

When the password was successfully changed, there is a redirect to localhost, the component detects that there is a session, but it does not refresh the rest of the components to show the right menu, username and so on.

This is an empty project, but I am facing the same issue with the real project I am working on


3 Answer(s)
  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello

    If you want to force users to change their passwords, you need to enable periodic password changes and configure the related settings.
    You can check this document it will helps you.

    Thank you.

  • User Avatar
    0
    dfzamora created

    Hello, thanks for your response,
    However, that is not what I meant, I only need to force the user to change their password when a new user account is created, to achieve that I am using the abp feature showed in the image
    image.png

    But it is not working as it should, please take a look at the images and explanation I added to this ticket

  • User Avatar
    0
    sumeyye.kurtulus created
    Support Team Angular Expert

    Hello, thank you for bringing this to our attention. This issue will be resolved in the next release, and I’ll be processing a refund for your ticket as well.

Made with ❤️ on ABP v9.2.0-preview. Updated on January 23, 2025, 12:17