Fix login redirect: return redirect() instead of send()+exit
Deploy / deploy (push) Failing after 12s
Deploy / deploy (push) Failing after 12s
send()+exit breaks in Livewire's mount() context; returning the redirect response is the correct Livewire v3 approach. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
a8e7bdeb64
commit
f53ea6a823
1 file changed
+2
-3
@@ -6,9 +6,8 @@ use Filament\Pages\Auth\Login as BaseLogin;
|
||||
|
||||
class Login extends BaseLogin
|
||||
{
|
||||
public function mount(): void
|
||||
public function mount()
|
||||
{
|
||||
redirect()->route('auth.nextcloud')->send();
|
||||
exit;
|
||||
return redirect()->route('auth.nextcloud');
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user