mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-12-11 17:50:39 +01:00
27 lines
414 B
PHP
27 lines
414 B
PHP
<?php
|
|
|
|
namespace App\Events;
|
|
|
|
use App\Models\User;
|
|
use Illuminate\Contracts\Auth\Authenticatable;
|
|
|
|
class VisitedByProxyUser
|
|
{
|
|
/**
|
|
* The authenticated user.
|
|
*
|
|
* @var User|Authenticatable
|
|
*/
|
|
public $user;
|
|
|
|
/**
|
|
* Create a new event instance.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function __construct(User|Authenticatable $user)
|
|
{
|
|
$this->user = $user;
|
|
}
|
|
}
|