Skip to content

Commit

Permalink
[Add] iCloud Keychain 2FA Fun
Browse files Browse the repository at this point in the history
- Testing out iCloud Keychain 2FA support for fun. Turns out it works quite good.
  • Loading branch information
kiritokatklian committed Jun 10, 2021
1 parent 47fc44b commit 5fc7e7b
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,18 @@
<div class="mt-4">
{!! Auth::user()->twoFactorQrCodeSvg() !!}
</div>

@browser('isSafari')
<div class="mt-4 max-w-xl text-sm text-gray-600">
<p class="font-semibold">
{{ __('Or click on the button below to setup using iCloud Keychain.') }}
</p>
</div>

<div class="mt-4">
<x-link-button href="apple-{{ Auth::user()->twoFactorQrCodeUrl() }}">{{ __('Setup in iCloud Keychain') }}</x-link-button>
</div>
@endbrowser
@endif

@if ($showingRecoveryCodes)
Expand Down

0 comments on commit 5fc7e7b

Please sign in to comment.