Username already passed lowercased from signup.php

This commit is contained in:
Blade of Darkness 2021-03-01 19:41:40 +01:00
parent 6e01b8dbbf
commit 93ffa85803
2 changed files with 5 additions and 5 deletions

View File

@ -26,11 +26,11 @@ case $1 in
$(sudo grep -qiw $1 $BANNED) && error_exit "$1 is on the ban list!"
#adding new user
makeuser_no_ansible $username $2
add_account_recovery $username $2
makeuser_no_ansible $1 $2
add_account_recovery $1 $2
#Thunix specific section
makeuser_ansible $username $2 "$3"
makeuser_ansible $1 $2 "$3"
# End Thunix specific section
;;

View File

@ -25,8 +25,8 @@ case $1 in
$(sudo grep -qiw $1 $BANNED) && error_exit "$1 is on the ban list!"
#adding new user
makeuser_no_ansible $username $2
add_account_recovery $username $2
makeuser_no_ansible $1 $2
add_account_recovery $1 $2
;;