Skip to content

Commit

Permalink
Settings: Removing '42' end nickname verification
Browse files Browse the repository at this point in the history
  • Loading branch information
okbrandon committed Nov 14, 2024
1 parent dccdc4a commit f315601
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ const AccountPreferences = ({ user, setUser }) => {
return t('restrictions.username.required');
} else if (data.username.length < 4 || data.username.length > 16) {
return t('restrictions.username.invalidLength');
} else if (/42$/.test(data.username)) {
return t('restrictions.username.invalidFormat');
} else if (/[^a-zA-Z0-9]/.test(data.username)) {
return t('restrictions.username.invalidCharacters');
} else if (data.displayName && (data.displayName.length < 4 || data.displayName.length > 16)) {
Expand Down

0 comments on commit f315601

Please sign in to comment.