osb/spark/resources/views/settings/security.blade.php

21 lines
644 B
PHP
Raw Normal View History

2017-11-03 05:26:07 +00:00
<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>