Describe the bug
In the UserManagement module, it is possible to add a new user, having a password of less than 6 characters. The user is then added to the database but not to firebase. As a result, the newly added user is displayed in the UserManagement module but it will be impossible to log in with the added credentials.
To Reproduce
Steps to reproduce the behavior:
Start the application
Sign in
Navigate to the UserManagement tab.
Fill in the fields, make sure the chosen password has less than 6 characters.
Click on Add User.
Now return to the login page and attempt to log in with the credentials that were just added.
It will be impossible to login.
Expected behavior
The user should not be added at all and an error should be displayed.
Screenshots
Creating new user with short password (under 6 characters)
The User has been added
Attempting to log in with the new credentials will fail
Describe the bug In the
UserManagement
module, it is possible to add a new user, having a password of less than 6 characters. The user is then added to the database but not to firebase. As a result, the newly added user is displayed in theUserManagement
module but it will be impossible to log in with the added credentials.To Reproduce Steps to reproduce the behavior:
UserManagement
tab.Add User
.Expected behavior The user should not be added at all and an error should be displayed.
Screenshots Creating new user with short password (under 6 characters) The User has been added Attempting to log in with the new credentials will fail