wip
This commit is contained in:
1 parent
8ea45cad58
commit
2b308592ea
1 file changed
-3
@@ -21,12 +21,9 @@ class RecordUserActivity
|
||||
$response = $next($request);
|
||||
|
||||
$whoIsIp = request()->ip();
|
||||
$whoIsIp = '178.165.190.98';
|
||||
$position = Location::get($whoIsIp);
|
||||
$session_id = session()->getId();
|
||||
|
||||
// dd($position);
|
||||
// Perform action
|
||||
if (Auth::id() !== null) {
|
||||
UserActivity::create([
|
||||
'url' => config('app.url').'/'.$request->path(),
|
||||
|
||||
Reference in new issue
Block a user