Default to enable auto-detection of hashing format in setup.sh

This commit is contained in:
Ilia
2022-06-15 23:30:27 +03:00
parent e68b0a161c
commit e20ebc2da9

View File

@@ -784,10 +784,8 @@ if [ "$?" != "0" ]; then
echo passwd_mode=0 >> $config_dir/miniserv.conf
fi
# If Perl crypt supports MD5, then make it the default
if [ "$md5pass" = "1" ]; then
echo md5pass=1 >> $config_dir/config
fi
# Use system defaults for password hashing
echo md5pass=0 >> $config_dir/config
# Set a special theme if none was set before
if [ "$theme" = "" ]; then