mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
Update security view
This commit is contained in:
parent
0586c022a9
commit
9788c80ca9
1 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@
|
|||
|
||||
@include('settings.security.device-panel')
|
||||
|
||||
@if(config('pixelfed.account_deletion') && !$user->is_admin && $user->created_at->gt(now()->subHours(12)))
|
||||
@if(config('pixelfed.account_deletion') && !$user->is_admin && $user->created_at->lt(now()->subHours(12)))
|
||||
<h4 class="font-weight-bold pt-3">Danger Zone</h4>
|
||||
<div class="mb-4 border rounded border-danger">
|
||||
<ul class="list-group mb-0 pb-0">
|
||||
|
@ -40,7 +40,7 @@
|
|||
<a class="btn btn-outline-danger font-weight-bold py-1" href="{{route('settings.remove.temporary')}}">Disable</a>
|
||||
</div>
|
||||
</li>
|
||||
@if( !$user->is_admin && $user->created_at->gt(now()->subDays(7)) )
|
||||
@if(!$user->is_admin && $user->created_at->lt(now()->subDays(7)) )
|
||||
<li class="list-group-item border-left-0 border-right-0 py-3 d-flex justify-content-between">
|
||||
<div>
|
||||
<p class="font-weight-bold mb-1">Delete this Account</p>
|
||||
|
|
Loading…
Reference in a new issue