1
0
mirror of https://github.com/delight-im/PHP-Auth.git synced 2025-08-04 07:07:25 +02:00

Remove method 'logOutAndDestroySession' from class 'Auth'

This commit is contained in:
Marco
2018-03-25 01:28:35 +01:00
parent fdd95e8b89
commit 9f71eff176

View File

@@ -578,16 +578,6 @@ final class Auth extends UserManager {
parent::onLoginSuccessful($userId, $email, $username, $status, $roles, $forceLogout, $remembered); 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 * Deletes the session cookie on the client
* *