diff options
Diffstat (limited to 'client/src/app/+signup/+register/register.component.ts')
-rw-r--r-- | client/src/app/+signup/+register/register.component.ts | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/client/src/app/+signup/+register/register.component.ts b/client/src/app/+signup/+register/register.component.ts index ae944ec15..3e8171b27 100644 --- a/client/src/app/+signup/+register/register.component.ts +++ b/client/src/app/+signup/+register/register.component.ts | |||
@@ -1,14 +1,13 @@ | |||
1 | import { Component, OnInit, ViewChild } from '@angular/core' | 1 | import { Component, OnInit, ViewChild } from '@angular/core' |
2 | import { AuthService, Notifier, RedirectService, ServerService } from '@app/core' | ||
3 | import { UserService, UserValidatorsService } from '@app/shared' | ||
4 | import { I18n } from '@ngx-translate/i18n-polyfill' | ||
5 | import { UserRegister } from '@shared/models/users/user-register.model' | ||
6 | import { FormGroup } from '@angular/forms' | 2 | import { FormGroup } from '@angular/forms' |
7 | import { About, ServerConfig } from '@shared/models/server' | 3 | import { ActivatedRoute } from '@angular/router' |
8 | import { InstanceService } from '@app/shared/instance/instance.service' | 4 | import { AuthService, Notifier, UserService } from '@app/core' |
9 | import { HooksService } from '@app/core/plugins/hooks.service' | 5 | import { HooksService } from '@app/core/plugins/hooks.service' |
6 | import { InstanceService } from '@app/shared/shared-instance' | ||
10 | import { NgbAccordion } from '@ng-bootstrap/ng-bootstrap' | 7 | import { NgbAccordion } from '@ng-bootstrap/ng-bootstrap' |
11 | import { ActivatedRoute } from '@angular/router' | 8 | import { I18n } from '@ngx-translate/i18n-polyfill' |
9 | import { UserRegister } from '@shared/models' | ||
10 | import { About, ServerConfig } from '@shared/models/server' | ||
12 | 11 | ||
13 | @Component({ | 12 | @Component({ |
14 | selector: 'my-register', | 13 | selector: 'my-register', |
@@ -40,11 +39,8 @@ export class RegisterComponent implements OnInit { | |||
40 | constructor ( | 39 | constructor ( |
41 | private route: ActivatedRoute, | 40 | private route: ActivatedRoute, |
42 | private authService: AuthService, | 41 | private authService: AuthService, |
43 | private userValidatorsService: UserValidatorsService, | ||
44 | private notifier: Notifier, | 42 | private notifier: Notifier, |
45 | private userService: UserService, | 43 | private userService: UserService, |
46 | private serverService: ServerService, | ||
47 | private redirectService: RedirectService, | ||
48 | private instanceService: InstanceService, | 44 | private instanceService: InstanceService, |
49 | private hooks: HooksService, | 45 | private hooks: HooksService, |
50 | private i18n: I18n | 46 | private i18n: I18n |