Base solution for your next web application
Open Closed

Special characters in usernames #1710


User avatar
0
jamsecgmbh created

Hi,

we have the problem that we cannot assign Roles to Users with umlauts (ä, ü, ö, ß) or "-"-signs (Peter Meier-Schmitz) in their usernames. Username xxx is not valid - the line UserManager.UpdateAsync throws the error "only letters and numbers are allowed".

I know that it is stupid that the admin has assigned usernames with umlauts and minus to users, but know we can see how to handle this. Could you please tell me if there is a possible workaround for this problem?

Thanks!


2 Answer(s)