email = trim($this->email); $this->validate( ['email' => ['required', 'string', 'email:filter', 'max:255']], ['email.required' => __('auth.email_required'), 'email.email' => __('auth.email_invalid'), 'email.max' => __('auth.email_invalid')], ); // Laravel allows one link a minute per account; this also limits one // address asking links for many accounts (mail flooding). $throttleKey = 'forgot-password|'.request()->ip(); if (RateLimiter::tooManyAttempts($throttleKey, self::MAX_REQUESTS_PER_IP_PER_MINUTE)) { $this->addError('email', __('auth.forgot_throttle', ['seconds' => RateLimiter::availableIn($throttleKey)])); return; } RateLimiter::hit($throttleKey); $requestPasswordReset->execute(new EmailAddress($this->email)); $this->linkRequested = true; } public function render(): mixed { return $this->view()->title(__('auth.forgot_title')); } }; ?>

{{ __('auth.forgot_title') }}

@if ($linkRequested) @endif

{{ __('auth.forgot_intro') }}