Cookies not deleted

Permalink
I have a running concrete5 website (v8.5.2), and it has the problem of the title.
concrete5 sets cookies as follows when a user login, but only one site does not remove the cookies when logout.
* CONCRETE5
* CONCRETE5_LOGIN
* ccmAuthUserHash

I found clear(): concrete/src/Cookie/ResponseCookieJar.php is suspicious.
unset() is not executed, because $this->cookies array is empty!

However, then, what should I do? Does anyone has the same problem?

kkyusuke
 
kkyusuke replied on at Permalink Reply
kkyusuke
The problem was solved.
When logout, the deprecated function logout() was used, instead of do_logout().

I rewrote the 3rd party theme file.