feat: disallow {} in member names

This commit is contained in:
Sam 2023-05-02 02:18:35 +02:00
parent a33f39afe5
commit 3f003b5353
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
4 changed files with 4 additions and 4 deletions

View file

@ -1,2 +1,2 @@
export const memberNameRegex = /^[^@\\?!#/\\\\[\]"'$%&()+<=>^|~`,]{1,100}$/;
export const memberNameRegex = /^[^@\\?!#/\\\\[\]"\\{\\}'$%&()+<=>^|~`,]{1,100}$/;
export const usernameRegex = /^[\w-.]{2,40}$/;