This commit is contained in:
Louis Lam
2025-06-15 19:53:07 +08:00
parent 609429bd7e
commit 4d666f8280
6 changed files with 8 additions and 8 deletions

View File

@@ -51,7 +51,7 @@ exports.initJWTSecret = async () => {
jwtSecretBean.key = "jwtSecret";
}
jwtSecretBean.value = passwordHash.generate(genSecret());
jwtSecretBean.value = await passwordHash.generate(genSecret());
await R.store(jwtSecretBean);
return jwtSecretBean;
};