mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
parent
19f05256a0
commit
b40027b6c7
@ -176,12 +176,12 @@ class Manager
|
||||
}
|
||||
|
||||
/**
|
||||
* Purges the current authorization information and removes the user from the session
|
||||
**/
|
||||
* Purges the current authorization information and session
|
||||
*/
|
||||
public function removeAuthorization()
|
||||
{
|
||||
$this->user = null;
|
||||
$this->persistCurrentUser();
|
||||
Session::getSession()->purge();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user