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

This commit is contained in:
Paul Frazee
2023-12-20 13:44:52 -08:00
committed by GitHub
parent 238ff58db9
commit 39a5a1e311
+1 -1
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) {