mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-06 16:36:59 +01:00
* [ADD] Direct linking available
* [FIX] Minor bugfixes
This commit is contained in:
@@ -30,6 +30,7 @@ use SP\Http\JsonResponse;
|
||||
use SP\Http\Request;
|
||||
use SP\Util\Checks;
|
||||
use SP\Util\Json;
|
||||
use SP\Util\Util;
|
||||
|
||||
|
||||
/**
|
||||
@@ -63,6 +64,8 @@ trait ControllerTrait
|
||||
$JsonResponse->setDescription(__u('La sesión no se ha iniciado o ha caducado'));
|
||||
$JsonResponse->setStatus(10);
|
||||
Json::returnJson($JsonResponse);
|
||||
} elseif (Checks::isAjax($router)) {
|
||||
Util::logout();
|
||||
} else {
|
||||
$route = Request::analyzeString('r');
|
||||
$hash = Request::analyzeString('h');
|
||||
|
||||
Reference in New Issue
Block a user