From 6803a47491f6268a3f34d1397455579a87d5caef Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Thu, 23 Jan 2020 21:56:06 +0200 Subject: [PATCH] Updated GEO DB path --- app/controllers/api/account.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/account.php b/app/controllers/api/account.php index c9a2005c1..126549110 100644 --- a/app/controllers/api/account.php +++ b/app/controllers/api/account.php @@ -91,7 +91,7 @@ $utopia->get('/v1/account/sessions') ->action( function () use ($response, $user) { $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 = []; $current = Auth::tokenVerify($tokens, Auth::TOKEN_TYPE_LOGIN, Auth::$secret); $index = 0;