1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lstu_ynh.git synced 2024-09-03 19:36:12 +02:00

Fix upgrade from old commit

This commit is contained in:
Kayou 2019-02-18 23:20:31 +01:00 committed by GitHub
parent 69dffead61
commit bd400ac67f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -78,7 +78,7 @@ fi
if [ -z "$hashed_password" ]; then if [ -z "$hashed_password" ]; then
# Generate random password # Generate random password
password=$(ynh_string_random --length=8) password=$(ynh_string_random 8)
hashed_password=$(echo -n $password | sha256sum | cut -d' ' -f1) hashed_password=$(echo -n $password | sha256sum | cut -d' ' -f1)
echo "The new version of LSTU provide an admin and a stats area which required a password. echo "The new version of LSTU provide an admin and a stats area which required a password.