From 7f8371fec212a1a22f9efbeebfde07cf92fdbeaa Mon Sep 17 00:00:00 2001 From: Yannick Bungers Date: Sun, 29 Jan 2023 21:06:52 +0100 Subject: [PATCH] Remove redundant password strength check Signed-off-by: Yannick Bungers --- backend/src/identity/identity.service.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/backend/src/identity/identity.service.ts b/backend/src/identity/identity.service.ts index 83cb8595c..ce74f4f23 100644 --- a/backend/src/identity/identity.service.ts +++ b/backend/src/identity/identity.service.ts @@ -132,7 +132,6 @@ export class IdentityService { */ async createLocalIdentity(user: User, password: string): Promise { const identity = Identity.create(user, ProviderType.LOCAL, false); - await this.checkPasswordStrength(password); identity.passwordHash = await hashPassword(password); return await this.identityRepository.save(identity); }