Username already passed lowercased from signup.php

This commit is contained in:
Blade of Darkness 2021-03-01 19:34:57 +01:00
parent bc4e2dc31c
commit cebb380022
1 changed files with 0 additions and 3 deletions

View File

@ -25,9 +25,6 @@ case $1 in
[[ $# -ne 3 ]] && error_exit "not enough args"
$(sudo grep -qiw $1 $BANNED) && error_exit "$1 is on the ban list!"
# username passed lowercased
username=$(echo $1 | tr '[:upper:]' '[:lower:]')
#adding new user
makeuser_no_ansible $username $2
add_account_recovery $username $2