Redirect /dashboard/login directly to Nextcloud OAuth via web route
Deploy / deploy (push) Successful in 16s

Overriding mount() conflicts with parent void return type; intercepting
the URL in routes/web.php (registered before Filament) is the clean fix.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Malek TellissiandClaude Sonnet 4.6 committed 2026-09-13 02:28:46 +02:00
1 parent f53ea6a823
commit c3a3cabc2c
2 files changed
+4 -2

No files matched your search

+2 -2
View File
@@ -6,8 +6,8 @@ use Filament\Pages\Auth\Login as BaseLogin;
class Login extends BaseLogin
{
public function mount()
public function getView(): string
{
return redirect()->route('auth.nextcloud');
return 'filament.pages.auth.login';
}
}