1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mastodon_ynh.git synced 2024-09-03 19:46:02 +02:00

[fix] Password lengh check 9 to 8

This commit is contained in:
nemsia 2017-05-07 23:51:04 +02:00 committed by GitHub
parent 8584df0b54
commit 790cfd986e

View file

@ -33,7 +33,7 @@ ynh_app_setting_set $app admin $admin_mastodon
ynh_app_setting_set $app pass $admin_pass
ynh_app_setting_set $app language $language
[[ ${#admin_pass} -gt 8 ]] || ynh_die \
[[ ${#admin_pass} -gt 7 ]] || ynh_die \
"The password is too weak, it must be longer than 8 characters"
# Create user unix