mirror of
https://github.com/YunoHost-Apps/cachet_ynh.git
synced 2024-09-03 18:16:03 +02:00
Update install
This commit is contained in:
parent
52c63ce7b8
commit
b0e61ec294
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ ynh_replace_string --match_string="__DOMAIN__" --replace_string="$domain$path_ur
|
|||
ynh_replace_string --match_string="__ADMIN__" --replace_string="$admin" --target_file="$sql_conf"
|
||||
ynh_replace_string --match_string="__LANGUAGE__" --replace_string="$language" --target_file="$sql_conf"
|
||||
|
||||
password_hash="$(cd $final_path ; php$YNH_PHP_VERSION artisan tinker -q --no-ansi <<< "echo Hash::make('$admin_password');" |head -n 1)"
|
||||
password_hash="$(cd $final_path ; php$YNH_PHP_VERSION artisan tinker -q --no-ansi <<< "echo Hash::make('$password');" |head -n 1)"
|
||||
password_pash="${password_hash::-1}" # Remove last character
|
||||
ynh_replace_string --match_string="__PASSWORD_HASH__" --replace_string="$password_pash" --target_file="$sql_conf"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue