Add member profile page with editable fields and password change
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user