mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-03-14 12:23:33 +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)
|
@if(auth()?->user()?->oidc_sub === null)
|
||||||
<flux:navlist.item :href="route('user-password.edit')" wire:navigate>{{ __('Password') }}</flux:navlist.item>
|
<flux:navlist.item :href="route('user-password.edit')" wire:navigate>{{ __('Password') }}</flux:navlist.item>
|
||||||
@endif
|
@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.item :href="route('settings.support')" wire:navigate>{{ __('Support') }}</flux:navlist.item>
|
||||||
</flux:navlist>
|
</flux:navlist>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -83,5 +83,11 @@ new class extends Component
|
||||||
</x-action-message>
|
</x-action-message>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</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>
|
</x-pages::settings.layout>
|
||||||
</section>
|
</section>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue