Update username button remains disabled upon failure
Summary
When changing username the button is disabled whilst the request is submitted. If the operation to change the username fails the button remains disabled once the validation error is shown
Steps to reproduce
- Choose a new username e.g. new_username
- Create a new group with the above username, to ensure that the namespace is occupied
- Change your username to the above username
- Notice that the "Update username" button is disabled whilst the form is submitted
- The validation error will be displayed
Expected behavior
"Update username" button is reenabled so I can have another go
Actual behavior
"Update username" button remains disabled.