tinycm diff index.cgi @ rev 103

Small fixes
author Christophe Lincoln <pankso@slitaz.org>
date Mon Feb 20 18:29:02 2017 +0100 (2017-02-20)
parents 69214a677729
children 348289f0b48d
line diff
     1.1 --- a/index.cgi	Mon Feb 20 17:03:32 2017 +0100
     1.2 +++ b/index.cgi	Mon Feb 20 18:29:02 2017 +0100
     1.3 @@ -247,7 +247,6 @@
     1.4  		touch $AUTH_FILE
     1.5  		chmod 0600 $AUTH_FILE
     1.6  	fi
     1.7 -	key=$(echo -n "$user:$mail:$pass" | md5sum | awk '{print $1}')
     1.8  	echo "$user:$pass" >> $AUTH_FILE
     1.9  	mkdir -p $PEOPLE/$user/
    1.10  	cat > $PEOPLE/$user/account.conf << EOT
    1.11 @@ -257,7 +256,6 @@
    1.12  NAME="$name"
    1.13  USER="$user"
    1.14  MAIL="$mail"
    1.15 -KEY="$key"
    1.16  
    1.17  EOT
    1.18  	chmod 0600 $PEOPLE/$user/account.conf