fix crypto dependency

This commit is contained in:
Alex Holliday committed 2025-07-30 09:18:16 -07:00
1 parent cd3702f5b5
commit 78a5b2e666
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 });
}