From: Paul Hänsch Date: Wed, 29 Sep 2021 11:09:40 +0000 (+0200) Subject: Squashed 'cgilite/' changes from 6bfa64b..9451cdd X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=b5943a26698776a9814850ed2356eda5076fa00a;p=rawnet 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 --- 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" }