-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #186 from ECFMP/socialite-invalid-state
feat: notify user if login fails for whatever reason
- Loading branch information
Showing
2 changed files
with
48 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,25 @@ | ||
<div @class([ | ||
'flex items-center justify-center min-h-screen filament-login-page bg-gray-100 text-gray-900', | ||
'dark:bg-gray-900 dark:text-white' => config('filament.dark_mode'), | ||
])> | ||
<div class="w-screen max-w-md px-6 -mt-16 space-y-8 md:mt-0 md:px-2"> | ||
<form wire:submit.prevent="authenticate" @class([ | ||
'p-8 space-y-8 bg-white/50 backdrop-blur-xl border border-gray-200 shadow-2xl rounded-2xl relative', | ||
'dark:bg-gray-900/50 dark:border-gray-700' => config('filament.dark_mode'), | ||
])> | ||
<div class="flex justify-center w-full"> | ||
<x-filament::brand/> | ||
</div> | ||
|
||
<h2 class="text-2xl font-bold tracking-tight text-center"> | ||
{{ __('filament::login.heading') }} | ||
</h2> | ||
|
||
<x-filament::button type="submit" form="authenticate" class="w-full"> | ||
Login via VATSIM Connect | ||
</x-filament::button> | ||
</form> | ||
</div> | ||
</div> | ||
<div @class([ | ||
'flex items-center justify-center min-h-screen filament-login-page bg-gray-100 text-gray-900', | ||
'dark:bg-gray-900 dark:text-white' => config('filament.dark_mode'), | ||
])> | ||
<div class="w-screen max-w-md px-6 -mt-16 space-y-8 md:mt-0 md:px-2"> | ||
<form wire:submit.prevent="authenticate" @class([ | ||
'p-8 space-y-8 bg-white/50 backdrop-blur-xl border border-gray-200 shadow-2xl rounded-2xl relative', | ||
'dark:bg-gray-900/50 dark:border-gray-700' => config('filament.dark_mode'), | ||
])> | ||
<div class="flex justify-center w-full"> | ||
<x-filament::brand /> | ||
</div> | ||
|
||
<h2 class="text-2xl font-bold tracking-tight text-center"> | ||
{{ __('filament::login.heading') }} | ||
</h2> | ||
|
||
<x-filament::button type="submit" form="authenticate" class="w-full"> | ||
Login via VATSIM Connect | ||
</x-filament::button> | ||
</form> | ||
</div> | ||
|
||
<x-filament::notification-manager /> | ||
</div> |