You're invited

{{ $invitation->invitedBy->name }} invited you to join {{ $invitation->team->name }} as a {{ $invitation->role }}.

@auth @if (auth()->user()->email === $invitation->email)
@csrf Accept invitation
@else
This invitation is for {{ $invitation->email }}, but you're signed in as {{ auth()->user()->email }}.
@csrf Sign out & switch account
@endif @else

Sign in or create an account with {{ $invitation->email }} to accept.

Sign in Create account
@endauth