mirror of
https://github.com/YunoHost-Apps/pufferpanel_ynh.git
synced 2024-09-03 20:16:03 +02:00
Fix test
This commit is contained in:
parent
b30cd41381
commit
14643a764d
2 changed files with 7 additions and 4 deletions
|
@ -39,7 +39,10 @@
|
|||
},
|
||||
{
|
||||
"name": "admin",
|
||||
"type": "user"
|
||||
"type": "user",
|
||||
"help": {
|
||||
"en": "Admin username minimum length is 5.",
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "password",
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue