🆙 Add more fixes 🆙
This commit is contained in:
1 parent
0ca57c9a91
commit
e6ed904f14
19 files changed
+1927
-2302
No files matched your search
@@ -14,7 +14,7 @@ use Illuminate\Validation\ValidationException;
|
||||
|
||||
class Login extends \Filament\Auth\Pages\Login
|
||||
{
|
||||
public $username = '';
|
||||
public string $username = '';
|
||||
|
||||
public function authenticate(): ?LoginResponse
|
||||
{
|
||||
@@ -26,7 +26,7 @@ class Login extends \Filament\Auth\Pages\Login
|
||||
'seconds' => $exception->secondsUntilAvailable,
|
||||
'minutes' => ceil($exception->secondsUntilAvailable / 60),
|
||||
]))
|
||||
->body(array_key_exists('body', __('filament-panels::pages/auth/login.notifications.throttled') ?: []) ? __('filament-panels::pages/auth/login.notifications.throttled.body', [
|
||||
->body(array_key_exists('body', (array) __('filament-panels::pages/auth/login.notifications.throttled') ?: []) ? __('filament-panels::pages/auth/login.notifications.throttled.body', [
|
||||
'seconds' => $exception->secondsUntilAvailable,
|
||||
'minutes' => ceil($exception->secondsUntilAvailable / 60),
|
||||
]) : null)
|
||||
|
||||
Reference in new issue
Block a user