Merge pull request #2713 from bluewave-labs/hotfix/crypto

fix crypto dependency
This commit is contained in:
Alexander Holliday authored and GitHub committed 2025-07-30 09:19:07 -07:00
commit 0ccbd17709
1 file changed
+1 -1
+1 -1
View File
@@ -36,7 +36,7 @@ class UserService {
user.teamId = invitedUser.teamId;
} else {
// This is the first account, create JWT secret to use if one is not supplied by env
const jwtSecret = crypto.randomBytes(64).toString("hex");
const jwtSecret = this.crypto.randomBytes(64).toString("hex");
await this.db.updateAppSettings({ jwtSecret });
}