import { Component, OnInit } from '@angular/core'
-import { Notifier, RedirectService, ServerService, UserService } from '@app/core'
+import { Notifier, RedirectService, ServerService } from '@app/core'
import { USER_EMAIL_VALIDATOR } from '@app/shared/form-validators/user-validators'
import { FormReactive, FormValidatorService } from '@app/shared/shared-forms'
+import { UserSignupService } from '@app/shared/shared-users'
@Component({
selector: 'my-verify-account-ask-send-email',
constructor (
protected formValidatorService: FormValidatorService,
- private userService: UserService,
+ private userSignupService: UserSignupService,
private serverService: ServerService,
private notifier: Notifier,
private redirectService: RedirectService
askSendVerifyEmail () {
const email = this.form.value['verify-email-email']
- this.userService.askSendVerifyEmail(email)
+ this.userSignupService.askSendVerifyEmail(email)
.subscribe({
next: () => {
this.notifier.success($localize`An email with verification link will be sent to ${email}.`)