mirror of
https://github.com/sp-tarkov/forge.git
synced 2025-02-12 20:20:41 -05:00
Conditionally show the Discord login button
This commit is contained in:
parent
7ad9682be0
commit
bba61fa814
@ -45,6 +45,7 @@
|
||||
</div>
|
||||
</form>
|
||||
|
||||
@if (config('services.discord.client_id') && config('services.discord.client_secret'))
|
||||
<div class="relative my-6">
|
||||
<div class="absolute inset-0 flex items-center" aria-hidden="true">
|
||||
<div class="w-full border-t border-gray-300 dark:border-gray-700"></div>
|
||||
@ -60,5 +61,6 @@
|
||||
</svg>
|
||||
{{ __('Login with Discord') }}
|
||||
</a>
|
||||
@endif
|
||||
</x-authentication-card>
|
||||
</x-guest-layout>
|
||||
|
Loading…
x
Reference in New Issue
Block a user