mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 08:53:48 +01:00
Update user.ts
This commit is contained in:
parent
a41d666d68
commit
6ccd9c494a
@ -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 New Issue
Block a user