blob: 3d0b4dd6479b27767ca02e6f8fdf8d4aee5ecd40 (
plain) (
tree)
|
|
import { Injectable } from '@angular/core'
import { Validators } from '@angular/forms'
import { BuildFormValidator } from './form-validator.service'
@Injectable()
export class ResetPasswordValidatorsService {
readonly RESET_PASSWORD_CONFIRM: BuildFormValidator
constructor () {
this.RESET_PASSWORD_CONFIRM = {
VALIDATORS: [
Validators.required
],
MESSAGES: {
'required': $localize`Confirmation of the password is required.`
}
}
}
}
|