Updated GEO DB path
This commit is contained in:
parent
7a29bf7985
commit
6803a47491
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ $utopia->get('/v1/account/sessions')
|
||||||
->action(
|
->action(
|
||||||
function () use ($response, $user) {
|
function () use ($response, $user) {
|
||||||
$tokens = $user->getAttribute('tokens', []);
|
$tokens = $user->getAttribute('tokens', []);
|
||||||
$reader = new Reader(__DIR__.'/../db/DBIP/dbip-country-lite-2020-01.mmdb');
|
$reader = new Reader(__DIR__.'/../../db/DBIP/dbip-country-lite-2020-01.mmdb');
|
||||||
$sessions = [];
|
$sessions = [];
|
||||||
$current = Auth::tokenVerify($tokens, Auth::TOKEN_TYPE_LOGIN, Auth::$secret);
|
$current = Auth::tokenVerify($tokens, Auth::TOKEN_TYPE_LOGIN, Auth::$secret);
|
||||||
$index = 0;
|
$index = 0;
|
||||||
|
|
Loading…
Reference in a new issue