|
|
@ -16,7 +16,6 @@ use Illuminate\Support\Facades\Cache; |
|
|
|
use Laravel\Lumen\Routing\Controller; |
|
|
|
use Laravel\Socialite\Facades\Socialite; |
|
|
|
use Illuminate\Session\TokenMismatchException; |
|
|
|
use phpDocumentor\Reflection\Location; |
|
|
|
use Symfony\Component\HttpFoundation\Response; |
|
|
|
|
|
|
|
class AuthController extends Controller |
|
|
@ -256,8 +255,8 @@ class AuthController extends Controller |
|
|
|
'agent' => request()->getAgent(), |
|
|
|
'ip' => request()->getClientIp(), |
|
|
|
'os' => request()->getOS(), |
|
|
|
'latitude' => 5, |
|
|
|
'longitude' => 5, |
|
|
|
'latitude' => \request()->getLocation()->getAttribute('lat'), |
|
|
|
'longitude' => \request()->getLocation()->getAttribute('lon'), |
|
|
|
]; |
|
|
|
|
|
|
|
$values = [ |
|
|
|