mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-09 18:06:54 +01:00
* [MOD] Improved plugins management
* [MOD] Code refactoring Signed-off-by: nuxsmin <nuxsmin@syspass.org>
This commit is contained in:
@@ -41,7 +41,9 @@ final class IndexController extends ControllerBase
|
||||
*/
|
||||
public function indexAction()
|
||||
{
|
||||
if (!$this->session->isLoggedIn()) {
|
||||
if ($this->session->isLoggedIn() === false
|
||||
|| $this->session->getAuthCompleted() === false
|
||||
) {
|
||||
$this->router->response()
|
||||
->redirect('index.php?r=login');
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user