misc_pterodactyl-panel/app/Events/Auth/FailedCaptcha.php

44 lines
818 B
PHP
Raw Normal View History

<?php
/**
2017-08-12 20:32:34 +00:00
* Pterodactyl - Panel
* Copyright (c) 2015 - 2017 Dane Everitt <dane@daneeveritt.com>.
*
2017-09-26 02:43:01 +00:00
* This software is licensed under the terms of the MIT license.
* https://opensource.org/licenses/MIT
2017-08-12 20:32:34 +00:00
*/
namespace Pterodactyl\Events\Auth;
use Illuminate\Queue\SerializesModels;
class FailedCaptcha
{
use SerializesModels;
2017-04-01 00:48:35 +00:00
/**
2017-04-01 00:48:35 +00:00
* The IP that the request originated from.
*
* @var string
*/
public $ip;
/**
* The domain that was used to try to verify the request with recaptcha api.
2017-04-01 00:48:35 +00:00
*
* @var string
*/
public $domain;
2017-04-01 00:48:35 +00:00
/**
2017-04-01 00:48:35 +00:00
* Create a new event instance.
*
2017-08-22 03:10:48 +00:00
* @param string $ip
* @param string $domain
2017-04-01 00:48:35 +00:00
*/
public function __construct($ip, $domain)
{
$this->ip = $ip;
$this->domain = $domain;
}
2017-04-01 00:48:35 +00:00
}