chore: move 2fa settings

This commit is contained in:
Benjamin Nussbaum 2026-01-16 09:22:37 +01:00
parent 82079b21d5
commit e9986b424d
2 changed files with 6 additions and 3 deletions

View file

@ -83,5 +83,11 @@ new class extends Component
</x-action-message>
</div>
</form>
@if (Laravel\Fortify\Features::canManageTwoFactorAuthentication() && auth()?->user()?->oidc_sub === null)
<flux:heading class="mt-6">2FA</flux:heading>
<flux:subheading class="mb-4">Optionally, you can enable Two-Factor Authentication via TOTP</flux:subheading>
<flux:button :href="route('two-factor.show')" wire:navigate>{{ __('2FA Settings…') }}</flux:button>
@endif
</x-pages::settings.layout>
</section>