mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
trim email also
This commit is contained in:
@@ -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' });
|
||||
|
||||
Reference in New Issue
Block a user