From 113fa35da7dcd2e70975c599174def83bca9e3af Mon Sep 17 00:00:00 2001 From: Konstantinos Arvanitakis Date: Mon, 24 Aug 2026 14:45:44 +0300 Subject: [PATCH] Hotfix: Adding a Back Button to Boboko's Login Form --- resources/views/auth/filament/pages/login.blade.php | 4 ++++ src/Auth/Filament/Pages/Login.php | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/resources/views/auth/filament/pages/login.blade.php b/resources/views/auth/filament/pages/login.blade.php index 0f13e48..352c696 100644 --- a/resources/views/auth/filament/pages/login.blade.php +++ b/resources/views/auth/filament/pages/login.blade.php @@ -46,6 +46,10 @@ Sign in + + + ← Back + @endif diff --git a/src/Auth/Filament/Pages/Login.php b/src/Auth/Filament/Pages/Login.php index d83d847..883aa4b 100644 --- a/src/Auth/Filament/Pages/Login.php +++ b/src/Auth/Filament/Pages/Login.php @@ -35,6 +35,12 @@ class Login extends SimplePage } } + public function back(): void + { + $this->otpSent = false; + $this->otp = ''; + } + public function requestOtp(): void { $this->validate(['email' => 'required|email']);