message: feat: increasing the length of the invite key
diff: @@ -119,7 +119,7 @@ export class UserService {
  ...user,
  salt,
  password: hashPassword,
  - inviteKey: Math.random().toString(36).substr(2, 20),
  + inviteKey: `${this.generateInviteKey()}${this.generateInviteKey()}`,
  role,
  });
  } catch (e) {
  @@ -340,4 +340,8 @@ export class UserService {
  const user = await this.findById(id);
  return this.uploadService.getUserPhoto(user.photoPath);
  }
  +
  + private generateInviteKey(): string {
  + return Math.random().toString(36).substr(2, 20);
  + }
  }
  