diff --git a/src/models/actions/create/CreateUser.ts b/src/models/actions/create/CreateUser.ts index 86bcd31..adc43e7 100644 --- a/src/models/actions/create/CreateUser.ts +++ b/src/models/actions/create/CreateUser.ts @@ -97,7 +97,6 @@ export class CreateUser { } if (this.username.includes("@")) { throw new UsernameContainsIllegalCharacterError(); } - let password_strength = passwordStrength(this.password); if (!password_strength.contains.includes("uppercase")) { throw new PasswordMustContainUppercaseLetterError(); } if (!password_strength.contains.includes("lowercase")) { throw new PasswordMustContainLowercaseLetterError(); }