24 lines
488 B
PHP
24 lines
488 B
PHP
<?php
|
|
|
|
namespace App\Events;
|
|
|
|
class UserTryToLogin extends Event
|
|
{
|
|
public $identification;
|
|
|
|
public $authType;
|
|
|
|
/**
|
|
* Create a new event instance.
|
|
*
|
|
* @param string $identification Email or username of the user.
|
|
* @param string $authType "email" or "username".
|
|
* @return void
|
|
*/
|
|
public function __construct($identification, $authType)
|
|
{
|
|
$this->identification = $identification;
|
|
$this->authType = $authType;
|
|
}
|
|
}
|