feat: update verify_mail method to return boolean in email field and registration components

This commit is contained in:
itsscb 2025-03-05 23:05:23 +01:00
parent 09532de67b
commit 765e0ae521
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ export class EmailFieldComponent {
@Output() valueChange = new EventEmitter<string>(); @Output() valueChange = new EventEmitter<string>();
verify_mail() { verify_mail(): boolean {
return verify_email(this._value); return verify_email(this._value);
} }
} }

View File

@ -31,7 +31,7 @@ export class RegistrationComponent implements OnInit {
} }
} }
verify_mail() { verify_mail(): boolean {
return verify_email(this.mail); return verify_email(this.mail);
} }