mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Merge branch '3.x' of https://github.com/filamentphp/filament into 3.x
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user