Merge branch 'master' into fix-sync

This commit is contained in:
Louis Lam
2025-06-23 15:24:59 +08:00
committed by GitHub
25 changed files with 175 additions and 105 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;
};