When editing a user profile which has the "username" field disabled, such as for a user who's authentication method is set to "OAuth 2", the form validation fails with a reason that "username is required".
- Search for a user account which has an authentication method that disables the editing of a username.
- Click on the "edit" action.
- Tick the "Suspended account" checkbox.
- Click the "Update profile" button.