Skip to content

Commit e309d93

Browse files
authored
Merge pull request #178 from Mrkbingham/add-render-hooks-to-login-page
Adds render hooks to the login page
2 parents 7e2a03b + 43050a7 commit e309d93

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

resources/views/auth/login.blade.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
</x-slot>
88
@endif
99

10+
{{ \Filament\Support\Facades\FilamentView::renderHook(\Filament\View\PanelsRenderHook::AUTH_LOGIN_FORM_BEFORE, scopes: $this->getRenderHookScopes()) }}
11+
1012
<x-filament-panels::form wire:submit="authenticate">
1113
{{ $this->form }}
1214

@@ -19,4 +21,6 @@
1921
@if (Wallo\FilamentCompanies\FilamentCompanies::hasSocialiteFeatures())
2022
<x-filament-companies::socialite :error-message="$errors->first('filament-companies')" />
2123
@endif
24+
25+
{{ \Filament\Support\Facades\FilamentView::renderHook(\Filament\View\PanelsRenderHook::AUTH_LOGIN_FORM_AFTER, scopes: $this->getRenderHookScopes()) }}
2226
</x-filament-panels::page.simple>

0 commit comments

Comments
 (0)