1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-26 09:46:49 +00:00
pixelfed/resources/views/settings/security.blade.php

29 lines
763 B
PHP
Raw Normal View History

2018-05-26 22:40:39 +00:00
@extends('settings.template')
@section('section')
<div class="title">
2018-09-17 01:43:25 +00:00
<h3 class="font-weight-bold">Security</h3>
2018-05-26 22:40:39 +00:00
</div>
<hr>
2018-09-17 01:43:25 +00:00
<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>
2018-05-26 22:40:39 +00:00
@endsection