21 lines
644 B
PHP
21 lines
644 B
PHP
<spark-security :user="user" inline-template>
|
|
<div>
|
|
<!-- Update Password -->
|
|
@include('spark::settings.security.update-password')
|
|
|
|
<!-- Two-Factor Authentication -->
|
|
@if (Spark::usesTwoFactorAuth())
|
|
<div v-if="user && ! user.uses_two_factor_auth">
|
|
@include('spark::settings.security.enable-two-factor-auth')
|
|
</div>
|
|
|
|
<div v-if="user && user.uses_two_factor_auth">
|
|
@include('spark::settings.security.disable-two-factor-auth')
|
|
</div>
|
|
|
|
<!-- Two-Factor Reset Code Modal -->
|
|
@include('spark::settings.security.modals.two-factor-reset-code')
|
|
@endif
|
|
</div>
|
|
</spark-security>
|