Is there an existing issue for this?
Description
When I create a new user with the ShouldChangePasswordOnNextLogin flag true, so user will have to change the password on next login, but if user enter the wrong password before going to change password screen. the application is not showing the error message that Incoorect Username or Password, instead it stays on login screen by clearing entered login details.
Reproduction Steps
- Login as an Tenant Admin.
- Create New user with the default password like (Admin@123), keep the checkbox enable for Force Chnage Password on First login from the settings
- Logout from existing user
- Enter the details of the newly created user, but type wrong password like Admin123
- It should display the error "Incorrect username or password"
Expected behavior
It should show the error message on login page, "Incorrect username or password."
Actual behavior
It is not displaying the error message and clears the user data from the page.
Regression?
I have even tried overriding the login page, including the model, but it looks like the view is being rendered twice. The error message appears correctly during the first render, but when the page renders a second time, the error messages are getting cleared out.
Known Workarounds
No workaround as of now
Version
9.0
User Interface
Angular
Database Provider
EF Core (Default)
Tiered or separate authentication server
Separate Auth Server
Operation System
Windows (Default)
Other information
No response
Is there an existing issue for this?
Description
When I create a new user with the ShouldChangePasswordOnNextLogin flag true, so user will have to change the password on next login, but if user enter the wrong password before going to change password screen. the application is not showing the error message that Incoorect Username or Password, instead it stays on login screen by clearing entered login details.
Reproduction Steps
Expected behavior
It should show the error message on login page, "Incorrect username or password."
Actual behavior
It is not displaying the error message and clears the user data from the page.
Regression?
I have even tried overriding the login page, including the model, but it looks like the view is being rendered twice. The error message appears correctly during the first render, but when the page renders a second time, the error messages are getting cleared out.
Known Workarounds
No workaround as of now
Version
9.0
User Interface
Angular
Database Provider
EF Core (Default)
Tiered or separate authentication server
Separate Auth Server
Operation System
Windows (Default)
Other information
No response