Skip to content

Commit

Permalink
Allow usernames with numbers in sorry
Browse files Browse the repository at this point in the history
  • Loading branch information
ja5087 authored and Justin Zhang committed Mar 12, 2022
1 parent 88ca129 commit 40a0a11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion staff/acct/sorry/sorry
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ fi

sorriedUser=$1

if [[ ! "$sorriedUser" =~ ^[a-z]+ ]]; then
if [[ ! "$sorriedUser" =~ ^[a-z0-9]+ ]]; then
echo "$sorriedUser is an invalid username"
exit 3
fi
Expand Down

0 comments on commit 40a0a11

Please sign in to comment.