mirror of
https://github.com/YunoHost-Apps/yourls_ynh.git
synced 2024-09-03 20:35:59 +02:00
fix
This commit is contained in:
parent
1aebdeff19
commit
9d91c33fe3
4 changed files with 8 additions and 3 deletions
|
@ -63,7 +63,7 @@ define( 'YOURLS_COOKIEKEY', '__RANDOM__' );
|
||||||
** YOURLS will auto encrypt plain text passwords in this file
|
** YOURLS will auto encrypt plain text passwords in this file
|
||||||
** Read http://yourls.org/userpassword for more information */
|
** Read http://yourls.org/userpassword for more information */
|
||||||
$yourls_user_passwords = [
|
$yourls_user_passwords = [
|
||||||
'username' => 'password',
|
'__ADMIN__' => '__PASSWORD__',
|
||||||
// 'username2' => 'password2',
|
// 'username2' => 'password2',
|
||||||
// You can have one or more 'login'=>'password' lines
|
// You can have one or more 'login'=>'password' lines
|
||||||
];
|
];
|
||||||
|
|
|
@ -51,6 +51,10 @@
|
||||||
{
|
{
|
||||||
"name": "admin",
|
"name": "admin",
|
||||||
"type": "user"
|
"type": "user"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "password",
|
||||||
|
"type": "password"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# COMMON VARIABLES
|
# COMMON VARIABLES
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
YNH_PHP_VERSION="7.3"
|
YNH_PHP_VERSION="7.4"
|
||||||
|
|
||||||
# dependencies used by the app
|
# dependencies used by the app
|
||||||
pkg_dependencies="php${YNH_PHP_VERSION}-gmp php${YNH_PHP_VERSION}-bcmath php${YNH_PHP_VERSION}-curl php${YNH_PHP_VERSION}-cli php${YNH_PHP_VERSION}-json php${YNH_PHP_VERSION}-mysql php${YNH_PHP_VERSION}-zip php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-xml php-pear"
|
pkg_dependencies="php${YNH_PHP_VERSION}-gmp php${YNH_PHP_VERSION}-bcmath php${YNH_PHP_VERSION}-curl php${YNH_PHP_VERSION}-cli php${YNH_PHP_VERSION}-json php${YNH_PHP_VERSION}-mysql php${YNH_PHP_VERSION}-zip php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-xml php-pear"
|
||||||
|
|
|
@ -26,7 +26,8 @@ ynh_abort_if_errors
|
||||||
domain=$YNH_APP_ARG_DOMAIN
|
domain=$YNH_APP_ARG_DOMAIN
|
||||||
path_url=$YNH_APP_ARG_PATH
|
path_url=$YNH_APP_ARG_PATH
|
||||||
admin=$YNH_APP_ARG_ADMIN
|
admin=$YNH_APP_ARG_ADMIN
|
||||||
random=$(ynh_string_random 24)
|
password=$YNH_APP_ARG_PASSWORD
|
||||||
|
random=$(ynh_string_random --length=24)
|
||||||
|
|
||||||
app=$YNH_APP_INSTANCE_NAME
|
app=$YNH_APP_INSTANCE_NAME
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue