This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
site-base/spark/resources/views/settings/security.blade.php
2017-11-03 16:26:07 +11:00

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>