1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-22 11:13:46 +00:00

trim email also

This commit is contained in:
Kyle Spearrin
2018-09-08 08:13:47 -04:00
parent 2629aaf368
commit 26aa79db1a
4 changed files with 4 additions and 4 deletions

View File

@@ -38,7 +38,7 @@ export class ChangeEmailComponent {
return;
}
this.newEmail = this.newEmail.toLowerCase();
this.newEmail = this.newEmail.trim().toLowerCase();
if (!this.tokenSent) {
const request = new EmailTokenRequest();
request.newEmail = this.newEmail;