diff --git a/src/freedombone-app-irc b/src/freedombone-app-irc index 2dd3a9de..66f00243 100755 --- a/src/freedombone-app-irc +++ b/src/freedombone-app-irc @@ -103,10 +103,10 @@ function add_user_irc_bouncer { new_user_salt_base1="$(create_password 20)" new_user_salt_base2=$(echo "$new_user_salt_base1" | sed "s|#|.|g") new_user_salt=$(echo "$new_user_salt_base2" | sed "s|#|.|g") - new_user_hash=$(echo "${new_user_password}${new_user_salt}" | sha256sum | awk -F ' ' '{print $1}') - #new_user_pass="sha256#${new_user_hash}#${new_user_salt}#" + new_user_hash=$(echo "${new_username}${new_user_password}${new_user_salt}" | sha256sum | awk -F ' ' '{print $1}') echo "" >> /home/znc/.znc/configs/znc.conf + #new_user_pass="sha256#${new_user_hash}#${new_user_salt}#" #echo " Pass = ${new_user_pass}" >> /home/znc/.znc/configs/znc.conf echo ' ' >> /home/znc/.znc/configs/znc.conf echo ' Method = sha256' >> /home/znc/.znc/configs/znc.conf