aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+signup/+register/register.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/+signup/+register/register.component.ts')
-rw-r--r--client/src/app/+signup/+register/register.component.ts16
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 @@
1import { Component, OnInit, ViewChild } from '@angular/core' 1import { Component, OnInit, ViewChild } from '@angular/core'
2import { AuthService, Notifier, RedirectService, ServerService } from '@app/core'
3import { UserService, UserValidatorsService } from '@app/shared'
4import { I18n } from '@ngx-translate/i18n-polyfill'
5import { UserRegister } from '@shared/models/users/user-register.model'
6import { FormGroup } from '@angular/forms' 2import { FormGroup } from '@angular/forms'
7import { About, ServerConfig } from '@shared/models/server' 3import { ActivatedRoute } from '@angular/router'
8import { InstanceService } from '@app/shared/instance/instance.service' 4import { AuthService, Notifier, UserService } from '@app/core'
9import { HooksService } from '@app/core/plugins/hooks.service' 5import { HooksService } from '@app/core/plugins/hooks.service'
6import { InstanceService } from '@app/shared/shared-instance'
10import { NgbAccordion } from '@ng-bootstrap/ng-bootstrap' 7import { NgbAccordion } from '@ng-bootstrap/ng-bootstrap'
11import { ActivatedRoute } from '@angular/router' 8import { I18n } from '@ngx-translate/i18n-polyfill'
9import { UserRegister } from '@shared/models'
10import { 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