mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-03-14 20:33:40 +00:00
chore: move 2fa settings
This commit is contained in:
parent
82079b21d5
commit
e9986b424d
2 changed files with 6 additions and 3 deletions
|
|
@ -7,9 +7,6 @@
|
|||
@if(auth()?->user()?->oidc_sub === null)
|
||||
<flux:navlist.item :href="route('user-password.edit')" wire:navigate>{{ __('Password') }}</flux:navlist.item>
|
||||
@endif
|
||||
@if (Laravel\Fortify\Features::canManageTwoFactorAuthentication() && auth()?->user()?->oidc_sub === null)
|
||||
<flux:navlist.item :href="route('two-factor.show')" wire:navigate>{{ __('2FA') }}</flux:navlist.item>
|
||||
@endif
|
||||
<flux:navlist.item :href="route('settings.support')" wire:navigate>{{ __('Support') }}</flux:navlist.item>
|
||||
</flux:navlist>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue