mirror of
https://github.com/YunoHost-Apps/ihatemoney_ynh.git
synced 2024-09-03 19:26:15 +02:00
Fix hashed password
This commit is contained in:
parent
c7d6550ddc
commit
7cc5132693
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ if [ -z "$secret_key" ]; then
|
|||
fi
|
||||
|
||||
# If hashed_password doesn't exist, create it
|
||||
if [ -z "$hashed_password" ]; then
|
||||
if [ -z "$hashed_password" ] && [ test -f "${final_path}/venv/bin/activate" ]; then
|
||||
password=$(ynh_string_random --length=16)
|
||||
#run source in a 'sub shell'
|
||||
(
|
||||
|
|
Loading…
Add table
Reference in a new issue