|
|
|
@ -1,3 +1,4 @@ |
|
|
|
import { AccountService, RegisterDto } from '@abp/ng.account.core/proxy'; |
|
|
|
import { AuthService, ConfigStateService } from '@abp/ng.core'; |
|
|
|
import { getPasswordValidators, ToasterService } from '@abp/ng.theme.shared'; |
|
|
|
import { Component, Injector, OnInit } from '@angular/core'; |
|
|
|
@ -5,9 +6,8 @@ import { FormBuilder, FormGroup, Validators } from '@angular/forms'; |
|
|
|
import { throwError } from 'rxjs'; |
|
|
|
import { catchError, finalize, switchMap } from 'rxjs/operators'; |
|
|
|
import { eAccountComponents } from '../../enums/components'; |
|
|
|
import { AccountService } from '../../proxy/account/account.service'; |
|
|
|
import { RegisterDto } from '../../proxy/account/models'; |
|
|
|
import { getRedirectUrl } from '../../utils/auth-utils'; |
|
|
|
|
|
|
|
const { maxLength, required, email } = Validators; |
|
|
|
|
|
|
|
@Component({ |
|
|
|
|