MyBB Community Forums

Full Version: [F] [Admin CP] session not deleted upon logout
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
When you log out of the ACP, your session ID cookie is deleted, but the session remains in the database.

// Delete session from the database
$db->delete_query("adminsessions", "sid='".$db->escape_string($mybb->input['adminsid'])."'");

$mybb->input should probably be $mybb->cookies
Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.