Username already passed lowercased from signup.php

master
Blade of Darkness 2 years ago
parent 6e01b8dbbf
commit 93ffa85803
  1. 6
      makeuser
  2. 4
      makeuser_no_ansible

@ -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
;;

@ -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
;;