aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+signup/+verify-account/verify-account-ask-send-email
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/+signup/+verify-account/verify-account-ask-send-email')
-rw-r--r--client/src/app/+signup/+verify-account/verify-account-ask-send-email/verify-account-ask-send-email.component.ts10
1 files changed, 4 insertions, 6 deletions
diff --git a/client/src/app/+signup/+verify-account/verify-account-ask-send-email/verify-account-ask-send-email.component.ts b/client/src/app/+signup/+verify-account/verify-account-ask-send-email/verify-account-ask-send-email.component.ts
index afb0e6d6c..83c24a251 100644
--- a/client/src/app/+signup/+verify-account/verify-account-ask-send-email/verify-account-ask-send-email.component.ts
+++ b/client/src/app/+signup/+verify-account/verify-account-ask-send-email/verify-account-ask-send-email.component.ts
@@ -34,15 +34,13 @@ export class VerifyAccountAskSendEmailComponent extends FormReactive implements
34 askSendVerifyEmail () { 34 askSendVerifyEmail () {
35 const email = this.form.value['verify-email-email'] 35 const email = this.form.value['verify-email-email']
36 this.userService.askSendVerifyEmail(email) 36 this.userService.askSendVerifyEmail(email)
37 .subscribe( 37 .subscribe({
38 () => { 38 next: () => {
39 this.notifier.success($localize`An email with verification link will be sent to ${email}.`) 39 this.notifier.success($localize`An email with verification link will be sent to ${email}.`)
40 this.redirectService.redirectToHomepage() 40 this.redirectService.redirectToHomepage()
41 }, 41 },
42 42
43 err => { 43 error: err => this.notifier.error(err.message)
44 this.notifier.error(err.message) 44 })
45 }
46 )
47 } 45 }
48} 46}