aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+my-account/my-account-settings/my-account-change-email
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-10-07 15:26:53 +0200
committerChocobozzz <me@florianbigard.com>2022-10-07 15:26:53 +0200
commit5c5bcea2e64daf0a66a796c89432732ed27308d2 (patch)
tree96cec8f275c5dc3d71c284453af41a4915521686 /client/src/app/+my-account/my-account-settings/my-account-change-email
parenta69ea13086273fc6659c153be93f0f5b37aad733 (diff)
downloadPeerTube-5c5bcea2e64daf0a66a796c89432732ed27308d2.tar.gz
PeerTube-5c5bcea2e64daf0a66a796c89432732ed27308d2.tar.zst
PeerTube-5c5bcea2e64daf0a66a796c89432732ed27308d2.zip
Refactor form reactive
Diffstat (limited to 'client/src/app/+my-account/my-account-settings/my-account-change-email')
-rw-r--r--client/src/app/+my-account/my-account-settings/my-account-change-email/my-account-change-email.component.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/+my-account/my-account-settings/my-account-change-email/my-account-change-email.component.ts b/client/src/app/+my-account/my-account-settings/my-account-change-email/my-account-change-email.component.ts
index 9e6b8e21d..235fbec4a 100644
--- a/client/src/app/+my-account/my-account-settings/my-account-change-email/my-account-change-email.component.ts
+++ b/client/src/app/+my-account/my-account-settings/my-account-change-email/my-account-change-email.component.ts
@@ -3,7 +3,7 @@ import { tap } from 'rxjs/operators'
3import { Component, OnInit } from '@angular/core' 3import { Component, OnInit } from '@angular/core'
4import { AuthService, ServerService, UserService } from '@app/core' 4import { AuthService, ServerService, UserService } from '@app/core'
5import { USER_EMAIL_VALIDATOR, USER_PASSWORD_VALIDATOR } from '@app/shared/form-validators/user-validators' 5import { USER_EMAIL_VALIDATOR, USER_PASSWORD_VALIDATOR } from '@app/shared/form-validators/user-validators'
6import { FormReactive, FormValidatorService } from '@app/shared/shared-forms' 6import { FormReactive, FormReactiveService } from '@app/shared/shared-forms'
7import { HttpStatusCode, User } from '@shared/models' 7import { HttpStatusCode, User } from '@shared/models'
8 8
9@Component({ 9@Component({
@@ -17,7 +17,7 @@ export class MyAccountChangeEmailComponent extends FormReactive implements OnIni
17 user: User = null 17 user: User = null
18 18
19 constructor ( 19 constructor (
20 protected formValidatorService: FormValidatorService, 20 protected formReactiveService: FormReactiveService,
21 private authService: AuthService, 21 private authService: AuthService,
22 private userService: UserService, 22 private userService: UserService,
23 private serverService: ServerService 23 private serverService: ServerService