1
0
Fork 0
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:
yalh76 2022-06-16 14:31:56 +02:00
parent c7d6550ddc
commit 7cc5132693

View file

@ -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'
(