X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=cgilite%2Fusers.sh;h=b784ec75983f4163702722d8a2557e25c04ac2d7;hb=3820e27ad1d4e9c9407c7cc316a016c80ee79902;hp=1959e9de4b757084fad3d850b1b7b771517cb3c3;hpb=ed901fda6f4aa593314bc34eed00f5563732d793;p=rawnet diff --git a/cgilite/users.sh b/cgilite/users.sh index 1959e9d..b784ec7 100755 --- a/cgilite/users.sh +++ b/cgilite/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" }