misc_pterodactyl-panel/app/Http/Requests/Auth/ResetPasswordRequest.php
2021-01-23 12:33:34 -08:00

22 lines
437 B
PHP

<?php
namespace Pterodactyl\Http\Requests\Auth;
use Illuminate\Foundation\Http\FormRequest;
class ResetPasswordRequest extends FormRequest
{
public function authorize(): bool
{
return true;
}
public function rules(): array
{
return [
'token' => 'required|string',
'email' => 'required|email',
'password' => 'required|string|confirmed|min:8',
];
}
}