1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/calibreweb_ynh.git synced 2024-09-03 18:16:20 +02:00

set passhash

This commit is contained in:
Krakinou 2018-12-15 18:05:09 +01:00
parent 20d8a793fb
commit 957e75f580

View file

@ -151,7 +151,8 @@ conf="\"UPDATE user SET $(. <(echo -E echo $(<../conf/init_calibre_db_user))) WH
sleep 1s sleep 1s
eval sqlite3 $final_path/app.db "$conf" eval sqlite3 $final_path/app.db "$conf"
sleep 1s sleep 1s
sqlite3 $final_path/app.db \"UDPATE user SET password=$pass_hash WHERE ID=1\" conf="\"UPDATE user SET password='$pass_hash'WHERE ID=1\""
sqlite3 $final_path/app.db "$conf"