1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/uptime-kuma_ynh.git synced 2024-10-01 13:34:58 +02:00
This commit is contained in:
Hadrien 2021-11-02 08:25:26 +03:00
parent 8b7e64c3d8
commit 70fdb1193e

View file

@ -304,7 +304,7 @@ ynh_add_systemd_config
### We could write to its SQLite. Didn't find where the language preferences are though. ### We could write to its SQLite. Didn't find where the language preferences are though.
# password_hashed = $(htpasswd -bnBC 10 "" $password | tr -d ':\n') # password_hashed = $(htpasswd -bnBC 10 "" $password | tr -d ':\n')
# sqlite3 $final_path/db/kuma.db <<EOF # sqlite3 $final_path/data/kuma.db <<EOF
# INSERT INTO "main"."user" ("id", "username", "password", "active", "timezone", "twofa_secret", "twofa_status", "twofa_last_token") VALUES ('1', '$admin', '$password_hashed', '1', '', '', '0', ''); # INSERT INTO "main"."user" ("id", "username", "password", "active", "timezone", "twofa_secret", "twofa_status", "twofa_last_token") VALUES ('1', '$admin', '$password_hashed', '1', '', '', '0', '');
# EOF # EOF