Fix password bug

This commit is contained in:
Zach Brown
2024-04-10 02:47:03 +00:00
parent b63b4d4cea
commit b5166a969e

View File

@@ -345,6 +345,7 @@ install_lighttpd() {
read password
if [ -z "$password" ]; then
echo -e "\e[1;32mNo password provided.\e[0m"
else
printf "root:$(openssl passwd -crypt \"$password\")\n" >> $LIGHTTPD_DIR/.htpasswd
echo -e "\e[1;32mPassword set.\e[0m"