fix(ui): hide already registered button when there are 0 users (#7918)

This commit is contained in:
Dominic Schmid
2026-01-11 18:06:30 +01:00
committed by GitHub
parent 7556ce2f66
commit abd2df312c

View File

@@ -73,6 +73,7 @@ $email = getOldOrLocal('email', 'test3@example.com');
</x-forms.button>
</form>
@if (!$isFirstUser)
<div class="relative my-6">
<div class="absolute inset-0 flex items-center">
<div class="w-full border-t border-neutral-300 dark:border-coolgray-400"></div>
@@ -84,10 +85,11 @@ $email = getOldOrLocal('email', 'test3@example.com');
</div>
</div>
<a href="/login"
<a href="{{ route('login') }}"
class="block w-full text-center py-3 px-4 rounded-lg border border-neutral-300 dark:border-coolgray-400 font-medium hover:border-coollabs dark:hover:border-warning transition-colors">
{{ __('auth.already_registered') }}
</a>
@endif
</div>
</div>
</div>