1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 23:03:32 +00:00

formatting fixes

This commit is contained in:
Kyle Spearrin
2018-04-13 23:55:07 -04:00
parent 95cd9153c9
commit 5608f11925
2 changed files with 2 additions and 3 deletions

View File

@@ -4,8 +4,7 @@ import { CryptoService } from '../abstractions/crypto.service';
const PwnedPasswordsApi = 'https://api.pwnedpasswords.com/range/';
export class AuditService implements AuditServiceAbstraction {
constructor(private cryptoService: CryptoService) {
}
constructor(private cryptoService: CryptoService) { }
async passwordLeaked(password: string): Promise<number> {
const hash = (await this.cryptoService.sha1(password)).toUpperCase();