From 9ef73ca3f0bcd5e8573787e79cd8585621a2e376 Mon Sep 17 00:00:00 2001 From: Malek Tellissi Date: Sun, 13 Sep 2026 02:18:41 +0200 Subject: [PATCH] Replace login form with single Nextcloud OAuth button Removes email/password fields entirely; custom login page shows only the blue "Mit Blue Spices Zanzibar Cloud anmelden" button. Co-Authored-By: Claude Sonnet 4.6 --- app/Filament/Pages/Auth/Login.php | 13 +++++++++++++ app/Providers/Filament/UserPanelProvider.php | 19 +------------------ .../views/filament/pages/auth/login.blade.php | 12 ++++++++++++ 3 files changed, 26 insertions(+), 18 deletions(-) create mode 100644 app/Filament/Pages/Auth/Login.php create mode 100644 resources/views/filament/pages/auth/login.blade.php diff --git a/app/Filament/Pages/Auth/Login.php b/app/Filament/Pages/Auth/Login.php new file mode 100644 index 0000000..fe38712 --- /dev/null +++ b/app/Filament/Pages/Auth/Login.php @@ -0,0 +1,13 @@ +default() ->path('dashboard') ->font('Jost') - ->login() + ->login(\App\Filament\Pages\Auth\Login::class) ->colors([ 'primary' => '#33ccff' ]) @@ -46,22 +45,6 @@ class UserPanelProvider extends PanelProvider NavigationGroup::make('Ressourcen'), NavigationGroup::make('CRM'), ]) - ->renderHook( - PanelsRenderHook::AUTH_LOGIN_FORM_AFTER, - fn () => new HtmlString( - '
' - . '
' - . '
' - . 'oder' - . '
' - . '
' - . '' - . '' - . 'Mit Nextcloud anmelden' - . '' - . '
' - ) - ) ->renderHook( PanelsRenderHook::SIDEBAR_FOOTER, fn () => new HtmlString( diff --git a/resources/views/filament/pages/auth/login.blade.php b/resources/views/filament/pages/auth/login.blade.php new file mode 100644 index 0000000..1937b27 --- /dev/null +++ b/resources/views/filament/pages/auth/login.blade.php @@ -0,0 +1,12 @@ + + + + Mit Blue Spices Zanzibar Cloud anmelden + +