1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 08:43:33 +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

@@ -25,7 +25,7 @@ export class RecoverDeleteComponent {
async submit() {
try {
const request = new DeleteRecoverRequest();
request.email = this.email.toLowerCase();
request.email = this.email.trim().toLowerCase();
this.formPromise = this.apiService.postAccountRecoverDelete(request);
await this.formPromise;
this.analytics.eventTrack.next({ action: 'Started Delete Recovery' });