Username already passed lowercased from signup.php

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

View File

@ -24,9 +24,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