-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
None
-
Affects Version/s: 3.15.3, 4.0.0
-
4
-
Severity 3 - Minor
-
0
Summary
If a customer's username contains a blank space, the password reset link replaces the blank space with a + character, causing a 400 error when resetting password.
Steps to reproduce
- Create a customer account with this username: first last
- As the customer, request a password reset
- From the password reset email sent by Service Desk, click Reset my password
- Try to reset password from the browser
Expected behavior
Password can be reset normally.
Actual behavior
Password can't be reset:
- From the GUI, it seems the page just refreshes itself without doing anything
- From the F12 developer tools, a 400 error is thrown with this message:
The reset password token you have provided has timed out.
Workaround
Manually replace the + character in the password reset link with %20 e.g.:
- Change the link from this:
<JIRA_URL>/servicedesk/customer/user/resetpassword?username=first+last&token=<Token>
to this then reset password normally:
<JIRA_URL>/servicedesk/customer/user/resetpassword?username=first%20last&token=<Token>
- is related to
-
CONFSERVER-51693 Password reset fails for users with spaces in their names
-
- Closed
-
-
ID-38 "No valid reset token found for user" error if Username contains Spaces
-
- Closed
-
-
CONFSERVER-57917 Password reset fails for users with spaces in their names is not working
-
- Long Term Backlog
-
- links to