1
0
mirror of https://github.com/louislam/uptime-kuma.git synced 2024-11-28 08:48:45 +02:00

fix jwt error

This commit is contained in:
LouisLam 2021-08-09 20:09:01 +08:00
parent 12910b23ed
commit ba1d271afa

View File

@ -678,7 +678,7 @@ async function initDatabase() {
if (! jwtSecretBean) {
console.log("JWT secret is not found, generate one.");
jwtSecretBean = initJWTSecret();
jwtSecretBean = await initJWTSecret();
console.log("Stored JWT secret into database");
} else {
console.log("Load JWT secret from database.");