mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-01-30 16:30:45 +00:00
Update security settings view
This commit is contained in:
parent
e421657c3b
commit
66f2533295
1 changed files with 20 additions and 4 deletions
|
@ -3,11 +3,27 @@
|
|||
@section('section')
|
||||
|
||||
<div class="title">
|
||||
<h3 class="font-weight-bold">Security Settings</h3>
|
||||
<h3 class="font-weight-bold">Security</h3>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="alert alert-danger">
|
||||
Coming Soon
|
||||
</div>
|
||||
|
||||
<section class="pt-4">
|
||||
<div class="mb-4 pb-4">
|
||||
<div class="d-flex justify-content-between align-items-center">
|
||||
<h4 class="font-weight-bold mb-0">Two-factor authentication</h4>
|
||||
@if($user->{'2fa_enabled'})
|
||||
<a class="btn btn-success btn-sm font-weight-bold" href="#">Enabled</a>
|
||||
@endif
|
||||
</div>
|
||||
<hr>
|
||||
@if($user->{'2fa_enabled'})
|
||||
@include('settings.security.2fa.partial.edit-panel')
|
||||
@else
|
||||
@include('settings.security.2fa.partial.disabled-panel')
|
||||
@endif
|
||||
</div>
|
||||
|
||||
@include('settings.security.2fa.partial.log-panel')
|
||||
</section>
|
||||
|
||||
@endsection
|
Loading…
Reference in a new issue