ORCID authentication error
Issue description; a new user logged into KOtahi for the first time and received the following error message instead of landing on the My profile page to enter their email address or edit their personal details; "message": "username: should match pattern "^[^0-9\s]"" (see screenshot below). As a result, the user was not able to access Kotahi Dashboard.
Upon further investigation; in this case, the user's Name field is set to 'Hidden' in ORCID (see screenshot below), as a result, Kotahi isn't able to retrieve any data from ORCID. So Kotahi displays an error because the user's name/surname contains a 'space', it actually contains many spaces - it's blank!
Suggested solution; in the event that the user hides their name in ORCID or no data can be retrieved, then the username field Kotahi should read 'Anonymous'.