We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents eb61634 + 3b289f9 commit 1fd08edCopy full SHA for 1fd08ed
src/Contracts/Client.php
@@ -9,11 +9,14 @@ class Client
9
public $id;
10
public $ip;
11
public $userAgent;
12
+ public $key;
13
+ public $logKey;
14
+ public $url;
15
16
public function __construct($request)
17
{
- $this->id = Auth::check() ? Auth::id() : $this->ip;
18
$this->ip = $request->getClientIp();
19
+ $this->id = Auth::check() ? Auth::id() : $this->ip;
20
$this->userAgent = $request->header('User-Agent');
21
$this->key = "block_bot:{$this->id}";
22
$this->logKey = "block_bot:notified:{$this->ip}";
0 commit comments