1
0
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:
billz 2025-03-22 03:12:09 -07:00
parent 03fc2c42ad
commit 05e20e3bab

View File

@ -35,6 +35,8 @@ function DisplayAuthConfig($username)
} else {
$status->addMessage('Old password does not match', 'danger');
}
} elseif (isset($_POST['logout'])) {
$auth->logout();
}
echo renderTemplate(