Function Logout
Logs the current user out of their account. It requires that the session hash is sent as well, to prevent automatic logouts by images or javascript. It redirects back to $_SESSION['logout_url'], if it exists. It is accessed via ?action=logout;session_var=...
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/LogInOut.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/LogInOut.php
boolean |
$internal = false |
If true, it doesn't check the session |
boolean |
$redirect = true |
Whether or not to redirect the user after they log out |