|
|
(Next) Auth::removeUser() |
||||
| |
|||||
|
|||||
void Auth::logout (
)
Logout any currently logged in user.
<?php
//$a is our Auth object
$a->start();
if (isset($_GET['action']) && $_GET['action'] == 'logout'
&& $a->checkAuth()
) {
$a->logout();
$a->start();
}
?>
|
|
(Next) Auth::removeUser() |
||||||||
| |
|||||||||
|
|||||||||