missing fields
This commit is contained in:
1 parent
2d84fae470
commit
78b920aaf6
5 files changed
+61
-7
No files matched your search
@@ -90,6 +90,7 @@ class UserService {
|
||||
user.role = invite.role;
|
||||
user.teamId = invite.teamId;
|
||||
} else {
|
||||
console.log("WHITFUSKALG");
|
||||
// This is the first account, create JWT secret to use if one is not supplied by env
|
||||
const jwtSecret = this.crypto.randomBytes(64).toString("hex");
|
||||
await this.settingsRepository.update({ jwtSecret });
|
||||
|
||||
Reference in new issue
Block a user