mirror of
https://github.com/YunoHost-Apps/mediawiki_ynh.git
synced 2024-09-03 19:46:05 +02:00
fix
This commit is contained in:
parent
ca0babdb91
commit
af25f09865
2 changed files with 2 additions and 2 deletions
|
@ -72,7 +72,7 @@ fi
|
|||
--dbname "$db_name" \
|
||||
--dbprefix "mdk_" \
|
||||
--lang "$language" \
|
||||
--pass "$admin_password" \
|
||||
--pass "$password" \
|
||||
"$wiki_name" "$admin"
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -102,7 +102,7 @@ fi
|
|||
ynh_add_config --template="../conf/LocalSettings.php" --destination="$install_dir/LocalSettings.php"
|
||||
|
||||
# Check for admin password being too short for the new mediawiki requirements
|
||||
#REMOVEME? password_length=$(ynh_app_setting_get --app=$app --key=admin_password | awk '{print length}')
|
||||
password_length=$(ynh_app_setting_get --app=$app --key=password | awk '{print length}')
|
||||
if (( password_length < 10 )); then
|
||||
ynh_print_warn -m "The current admin password is $password_length long. Mediawiki now requires a 10 chars minimum password."
|
||||
ynh_print_warn -m "We are adapting the minimum length, but that would be great to change the admin password."
|
||||
|
|
Loading…
Reference in a new issue