mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-03 07:04:07 +01:00
* [ADD] Added In-App notifications polling. It will show up a browser notification when there are pending notifications
* [MOD] Improved Javascript error handling * [MOD] Code refactoring Signed-off-by: nuxsmin <nuxsmin@syspass.org>
This commit is contained in:
@@ -69,12 +69,16 @@ abstract class SimpleControllerBase
|
||||
*/
|
||||
protected function checks()
|
||||
{
|
||||
$this->checkLoggedInSession($this->session, $this->request, function ($redirect) {
|
||||
$this->router->response()
|
||||
->redirect($redirect)
|
||||
->send(true);
|
||||
});
|
||||
$this->checkSecurityToken($this->session, $this->request);
|
||||
$this->checkLoggedInSession(
|
||||
$this->session,
|
||||
$this->request,
|
||||
function ($redirect) {
|
||||
$this->router->response()
|
||||
->redirect($redirect)
|
||||
->send(true);
|
||||
}
|
||||
);
|
||||
// $this->checkSecurityToken($this->session, $this->request);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user