From b5943a26698776a9814850ed2356eda5076fa00a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Wed, 29 Sep 2021 13:09:40 +0200 Subject: [PATCH] Squashed 'cgilite/' changes from 6bfa64b..9451cdd 9451cdd min-height for textarea 84a16dd unambiguous cookie path when destroying user session git-subtree-dir: cgilite git-subtree-split: 9451cddb9f3422c050b7c4d3c01d10a177f3e36b --- common.css | 1 + users.sh | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/common.css b/common.css index f9b17ad..d6a9316 100644 --- a/common.css +++ b/common.css @@ -68,6 +68,7 @@ select, input, button, textarea, a.button { border-radius: 2pt; } select { padding: .375em 0; } +textarea { min-height: 7em; } input[type=radio], input[type=checkbox] { vertical-align: baseline; diff --git a/users.sh b/users.sh index 1959e9d..b784ec7 100755 --- a/users.sh +++ b/users.sh @@ -226,8 +226,8 @@ user_logout(){ # destroy cookie, destroy session # keep device cookie new_session - SET_COOKIE 0 session="" - SET_COOKIE 0 user_id="" + SESSION_COOKIE new + SET_COOKIE 0 user_id="" Path="/${_BASE#/}" SameSite=Strict HttpOnly REDIRECT "${_BASE}${PATH_INFO}#USER_LOGGED_OUT" } -- 2.39.2