Under specific scenario the "Passwords do not match" assertion is not working and learner user is still able to login #7810
Labels
APP: User
Re: User app (sign-in, sign-up, user profile, etc.)
bug
Behavior is wrong or broken
P0 - critical
Priority: Release blocker or regression
Milestone
Observed behavior
If a learner user is created in superadmin profile while the "Require password for learners" is unchecked in Facility > Settings, and after the learner creation is finished and the "Require password for learners" is checked, then this learner user is prompted for password in the first ever login and is able to login with different input in Password and Confirm password field. The input in Password field is recorded as a valid password and the Confirm password input seems to be ignored. The error message for "Passwords do not match" is displayed for a while before the learner is logged in.
Expected behavior
"Passwords do not match" assertion is preventing the user to login unless the passwords match.
Steps to reproduce
Preconditions: "Require password for learners" is unchecked in Facility > Settings
Context
Kolibri 0.14.7a2
Windows 10
Chrome
The text was updated successfully, but these errors were encountered: