Update user.ts
This commit is contained in:
parent
a41d666d68
commit
6ccd9c494a
1 changed files with 0 additions and 1 deletions
|
@ -18,4 +18,3 @@ export function validatePassword(password: string): boolean {
|
|||
export function isValidBirthday(birthday: string): boolean {
|
||||
return typeof birthday == 'string' && /^([0-9]{4})\-([0-9]{2})-([0-9]{2})$/.test(birthday);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue