mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-07-07 14:47:40 +02:00
Handle logout action
This commit is contained in:
parent
03fc2c42ad
commit
05e20e3bab
@ -35,6 +35,8 @@ function DisplayAuthConfig($username)
|
||||
} else {
|
||||
$status->addMessage('Old password does not match', 'danger');
|
||||
}
|
||||
} elseif (isset($_POST['logout'])) {
|
||||
$auth->logout();
|
||||
}
|
||||
|
||||
echo renderTemplate(
|
||||
|
Loading…
x
Reference in New Issue
Block a user