mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-26 10:15:40 +01:00
Fix typo in class name
This commit is contained in:
parent
53eef9e018
commit
fdccbbcc55
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
namespace App\Api\v1\Requests;
|
namespace App\Api\v1\Requests;
|
||||||
|
|
||||||
use App\Rules\IsValideEmailList;
|
use App\Rules\IsValidEmailList;
|
||||||
use Illuminate\Foundation\Http\FormRequest;
|
use Illuminate\Foundation\Http\FormRequest;
|
||||||
use Illuminate\Support\Facades\Auth;
|
use Illuminate\Support\Facades\Auth;
|
||||||
|
|
||||||
@ -32,7 +32,7 @@ public function rules()
|
|||||||
];
|
];
|
||||||
|
|
||||||
if ($this->route()?->parameter('settingName') == 'restrictList') {
|
if ($this->route()?->parameter('settingName') == 'restrictList') {
|
||||||
$rule['value'][] = new IsValideEmailList;
|
$rule['value'][] = new IsValidEmailList;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $rule;
|
return $rule;
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
use Illuminate\Contracts\Validation\ValidationRule;
|
use Illuminate\Contracts\Validation\ValidationRule;
|
||||||
use Illuminate\Support\Facades\Validator;
|
use Illuminate\Support\Facades\Validator;
|
||||||
|
|
||||||
class IsValideEmailList implements ValidationRule
|
class IsValidEmailList implements ValidationRule
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Run the validation rule.
|
* Run the validation rule.
|
Loading…
Reference in New Issue
Block a user