Hello. I suppose, the logout doesn’t work in branch: “Sessions-CheckUser-Secured”.
File: …/classes/Ijdb/Controllers/Login.php
line number: 38.
After operator unset($_SESSION) if you change REQUEST_URI (for example click on “Add a new joke”) the $_SESSION[‘username’] will have a value like before this operator.
To fix this for example change line number 38 on: $_SESSION[‘username’] = ‘logout’;

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.