mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-24 18:56:32 -05:00
Remove redundant password strength check
Signed-off-by: Yannick Bungers <git@innay.de>
This commit is contained in:
parent
8023b126a2
commit
7f8371fec2
1 changed files with 0 additions and 1 deletions
|
@ -132,7 +132,6 @@ export class IdentityService {
|
|||
*/
|
||||
async createLocalIdentity(user: User, password: string): Promise<Identity> {
|
||||
const identity = Identity.create(user, ProviderType.LOCAL, false);
|
||||
await this.checkPasswordStrength(password);
|
||||
identity.passwordHash = await hashPassword(password);
|
||||
return await this.identityRepository.save(identity);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue