[Eliminate Blocking] User related (#5928)

This commit is contained in:
Louis Lam
2025-06-19 14:29:43 +08:00
committed by GitHub
parent 443d5cf554
commit 4962817795
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;
};