Affects Version/s: 10.11.9, 11.3.5, 11.9
Environment:Windows 10 Pro 64 bit, Firefox 70, using a local instance of XWiki 11.9 on Oracle 12c
Documentation in Release Notes:N/A
Preconditions: an user U1 already exists and has a valid email set on its profile.
STEPS TO REPRODUCE
- Click on Drawer, Login
- Click 'Forgot your password'
- Fill the username
- Click 'Reset password'
- Click on the link from the email received by the user
- Fill some empty spaces on the 'New Password' and 'Re-enter New Password' fields
- Click 'Save'
A hint is displayed below the 'New Password' and 'Re-enter New Password' fields informing the user that the password cannot be empty (warning like 'Password cannot contain only empty spaces').
The password is saved with empty spaces. Furthermore, the user cannot login on the wiki anymore, as it gets: