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