Add member profile page with editable fields and password change

This commit is contained in:
Torsten Schulz (local)
2025-10-21 14:29:52 +02:00
parent 463418c6e2
commit 32ba9e2760
15 changed files with 947 additions and 511 deletions

View File

@@ -51,7 +51,8 @@ const login_post = defineEventHandler(async (event) => {
await writeUsers(updatedUsers);
setCookie(event, "auth_token", token, {
httpOnly: true,
secure: true,
secure: false,
// Auch in Production false, da wir HTTPS über Apache terminieren
sameSite: "lax",
maxAge: 60 * 60 * 24 * 7
// 7 days