feat: update verify_mail method to return boolean in email field and registration components
This commit is contained in:
parent
09532de67b
commit
765e0ae521
@ -28,7 +28,7 @@ export class EmailFieldComponent {
|
||||
|
||||
@Output() valueChange = new EventEmitter<string>();
|
||||
|
||||
verify_mail() {
|
||||
verify_mail(): boolean {
|
||||
return verify_email(this._value);
|
||||
}
|
||||
}
|
||||
|
@ -31,7 +31,7 @@ export class RegistrationComponent implements OnInit {
|
||||
}
|
||||
}
|
||||
|
||||
verify_mail() {
|
||||
verify_mail(): boolean {
|
||||
return verify_email(this.mail);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user