1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 16:23:44 +00:00

trim email also

This commit is contained in:
Kyle Spearrin
2018-09-08 08:13:33 -04:00
parent eb48abbcf6
commit 773c51901f
2 changed files with 2 additions and 2 deletions

View File

@@ -58,7 +58,7 @@ export class RegisterComponent {
}
this.name = this.name === '' ? null : this.name;
this.email = this.email.toLowerCase();
this.email = this.email.trim().toLowerCase();
const kdf = KdfType.PBKDF2_SHA256;
const kdfIterations = 5000;
const key = await this.cryptoService.makeKey(this.masterPassword, this.email, kdf, kdfIterations);