aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+signup/+verify-account/verify-account-ask-send-email
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-08-17 11:27:47 +0200
committerChocobozzz <me@florianbigard.com>2021-08-17 14:01:45 +0200
commit1378c0d343028f3d40d7d795422684ab9e6a1599 (patch)
tree08062b84a38a7e2dfe0aa674e7ca8e1b7321044e /client/src/app/+signup/+verify-account/verify-account-ask-send-email
parentc186a67f90203af6bfa434f026efdc99193bcd65 (diff)
downloadPeerTube-1378c0d343028f3d40d7d795422684ab9e6a1599.tar.gz
PeerTube-1378c0d343028f3d40d7d795422684ab9e6a1599.tar.zst
PeerTube-1378c0d343028f3d40d7d795422684ab9e6a1599.zip
Fix client lint
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}