1 import { I18n } from '@ngx-translate/i18n-polyfill'
2 import { Validators } from '@angular/forms'
3 import { Injectable } from '@angular/core'
4 import { BuildFormValidator } from '@app/shared'
7 export class ResetPasswordValidatorsService {
8 readonly RESET_PASSWORD_CONFIRM: BuildFormValidator
10 constructor (private i18n: I18n) {
11 this.RESET_PASSWORD_CONFIRM = {
16 'required': this.i18n('Confirmation of the password is required.')