mirror of
https://github.com/delight-im/PHP-Auth.git
synced 2025-08-04 15:17:28 +02:00
Remove method 'logOutAndDestroySession' from class 'Auth'
This commit is contained in:
10
src/Auth.php
10
src/Auth.php
@@ -578,16 +578,6 @@ final class Auth extends UserManager {
|
||||
parent::onLoginSuccessful($userId, $email, $username, $status, $roles, $forceLogout, $remembered);
|
||||
}
|
||||
|
||||
/**
|
||||
* Logs the user out and destroys all session data
|
||||
*
|
||||
* @throws AuthError if an internal problem occurred (do *not* catch)
|
||||
*/
|
||||
public function logOutAndDestroySession() {
|
||||
$this->logOut();
|
||||
$this->destroySession();
|
||||
}
|
||||
|
||||
/**
|
||||
* Deletes the session cookie on the client
|
||||
*
|
||||
|
Reference in New Issue
Block a user