feat: add birthday field to register page

This commit is contained in:
limes
2026-08-17 23:25:17 +02:00
parent 1f5745d8a1
commit 09e08f44d0
3 changed files with 16 additions and 2 deletions

View File

@@ -5,6 +5,8 @@ export default defineEventHandler(async (event): Promise<ApiAuthLogin> => {
const body = await readZodBody(event, RegisterSchema);
const grpc = useApiGrpc(event);
console.log(body.birthday);
// eslint-disable-next-line no-useless-catch -- Temp before error handling is implemented
try {
// TODO Add ip
@@ -15,7 +17,7 @@ export default defineEventHandler(async (event): Promise<ApiAuthLogin> => {
captchaResponse: body.captchaResponse,
username: body.username,
password: body.password,
passwordConfirm: body.password
passwordConfirm: body.password,
});
return {