A lot of code cleanup and code sanitation done.
This commit is contained in:
@@ -19,10 +19,9 @@ if (isset($_POST['logout'])) {
|
||||
// Set "logged out" indicator cookie
|
||||
setcookie('loggedout', '1', time() + 3600, '/');
|
||||
|
||||
// Redirect to login
|
||||
// Redirect to log in
|
||||
header('Location: /login/');
|
||||
exit;
|
||||
} else {
|
||||
header('Location: /');
|
||||
exit;
|
||||
}
|
||||
exit;
|
||||
|
||||
Reference in New Issue
Block a user