handle invalid invitations
Some checks failed
linter / quality (push) Successful in 3m4s
tests / ci (push) Has been cancelled

This commit is contained in:
Javier Feliz 2025-08-02 01:22:05 -04:00
parent 9e778adc51
commit 36851e9020

View File

@ -6,6 +6,13 @@
<p class="text-sm text-zinc-600 dark:text-zinc-400 mb-4">{{ __('Registration is by invitation only. Please contact an administrator to receive an invitation.') }}</p>
<flux:link :href="route('login')" wire:navigate class="text-sm">{{ __('Return to login') }}</flux:link>
</div>
@elseif(!empty($code) && $invitation === null)
<x-auth-header :title="__('Invalid Invitation')" :description="__('This invitation link is not valid')" />
<div class="text-center">
<p class="text-sm text-zinc-600 dark:text-zinc-400 mb-4">{{ __('The invitation link you used is invalid or has expired. Please contact an administrator for a new invitation.') }}</p>
<flux:link :href="route('login')" wire:navigate class="text-sm">{{ __('Return to login') }}</flux:link>
</div>
@elseif($invitationAccepted)
<x-auth-header :title="__('Invitation Already Used')" :description="__('This invitation has already been accepted')" />