Fix the is13 check in account creation (close #2258) (#2259)

zio/stable
Paul Frazee 2023-12-20 13:44:52 -08:00 committed by GitHub
parent 238ff58db9
commit 39a5a1e311
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ export async function submit({
}
export function is13(state: CreateAccountState) {
return getAge(state.birthDate) >= 18
return getAge(state.birthDate) >= 13
}
export function is18(state: CreateAccountState) {