misc_pterodactyl-panel/app/Http/Requests/Auth/ResetPasswordRequest.php

23 lines
437 B
PHP
Raw Permalink Normal View History

<?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',
];
}
}