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

[fix] Warning password to 7

This commit is contained in:
nemsia 2017-05-08 11:04:40 +02:00 committed by GitHub
parent e07e513303
commit 7d79f44167

View file

@ -35,7 +35,7 @@ ynh_app_setting_set $app pass $admin_pass
ynh_app_setting_set $app language $language
[[ ${#admin_pass} -gt 7 ]] || ynh_die \
"The password is too weak, it must be longer than 8 characters"
"The password is too weak, it must be longer than 7 characters"
# Create user unix
sudo adduser $app --home /opt/$app --gecos "First Last,RoomNumber,WorkPhone,HomePhone" --disabled-password --disabled-login