update username regex, normalize usernames, add user info query
This commit is contained in:
parent
774c8e22ce
commit
6fdc82dd49
6 changed files with 127 additions and 7 deletions
|
@ -66,7 +66,7 @@ export const userNameRestrictions: {
|
|||
regex: RegExp;
|
||||
} = {
|
||||
length: { min: 3, max: 20 },
|
||||
regex: /^[\p{L}0-9._-]+$/u,
|
||||
regex: /^[\p{L}\p{N}._-]+$/u,
|
||||
};
|
||||
|
||||
export const passwordRestrictions: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue