diff --git a/packages/panels/src/Pages/Auth/PasswordReset/RequestPasswordReset.php b/packages/panels/src/Pages/Auth/PasswordReset/RequestPasswordReset.php index 2283883a61..fb8effd98e 100644 --- a/packages/panels/src/Pages/Auth/PasswordReset/RequestPasswordReset.php +++ b/packages/panels/src/Pages/Auth/PasswordReset/RequestPasswordReset.php @@ -80,21 +80,19 @@ class RequestPasswordReset extends SimplePage }, ); - if ($status === Password::RESET_THROTTLED) { + if ($status === Password::RESET_LINK_SENT) { + Notification::make() + ->title(__($status)) + ->success() + ->send(); + } else { Notification::make() ->title(__($status)) ->danger() ->send(); - - return; } $this->form->fill(); - - Notification::make() - ->title(__(Password::RESET_LINK_SENT)) - ->success() - ->send(); } public function form(Form $form): Form