for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Cortex\Auth\Http\Requests\Frontarea;
class PasswordResetSendRequest extends PasswordResetRequest
{
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules(): array
return [
'email' => 'required|email|min:3|max:150|exists:'.config('cortex.auth.tables.members').',email',
];
}
* {@inheritdoc}
protected function getRedirectUrl()
return $this->redirector->getUrlGenerator()->route('frontarea.passwordreset.request');