1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pufferpanel_ynh.git synced 2024-09-03 20:16:03 +02:00
This commit is contained in:
yalh76 2022-03-27 12:58:20 +02:00
parent b30cd41381
commit 14643a764d
2 changed files with 7 additions and 4 deletions

View file

@ -39,7 +39,10 @@
},
{
"name": "admin",
"type": "user"
"type": "user",
"help": {
"en": "Admin username minimum length is 5.",
}
},
{
"name": "password",

View file

@ -38,9 +38,9 @@ app=$YNH_APP_INSTANCE_NAME
#=================================================
ynh_script_progression --message="Validating installation parameters..."
if [[ ${#admin} < 5 ]]; then
ynh_die --message="Admin username minimum length is 5"
fi
#if [[ ${#admin} < 5 ]]; then
# ynh_die --message="Admin username minimum length is 5"
#fi
# Register (book) web path
ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url