mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-28 16:00:59 -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> {
|
async createLocalIdentity(user: User, password: string): Promise<Identity> {
|
||||||
const identity = Identity.create(user, ProviderType.LOCAL, false);
|
const identity = Identity.create(user, ProviderType.LOCAL, false);
|
||||||
await this.checkPasswordStrength(password);
|
|
||||||
identity.passwordHash = await hashPassword(password);
|
identity.passwordHash = await hashPassword(password);
|
||||||
return await this.identityRepository.save(identity);
|
return await this.identityRepository.save(identity);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue