mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-29 17:53:16 +00:00
Update 2FA view
This commit is contained in:
parent
3a38c7386b
commit
8576392662
1 changed files with 21 additions and 11 deletions
|
@ -7,16 +7,26 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
@if(count($codes) > 0)
|
||||||
<p class="lead pb-3">
|
<p class="lead pb-3">
|
||||||
Each code can only be used once.
|
Each code can only be used once.
|
||||||
</p>
|
</p>
|
||||||
|
<ul class="list-group">
|
||||||
<p class="lead"></p>
|
@foreach($codes as $code)
|
||||||
<ul class="list-group">
|
<li class="list-group-item"><code>{{$code}}</code></li>
|
||||||
@foreach($codes as $code)
|
@endforeach
|
||||||
<li class="list-group-item"><code>{{$code}}</code></li>
|
</ul>
|
||||||
@endforeach
|
@else
|
||||||
</ul>
|
<div class="pt-5">
|
||||||
|
<h4 class="font-weight-bold">You are out of recovery codes</h4>
|
||||||
|
<p class="lead">Generate more recovery codes and store them in a safe place.</p>
|
||||||
|
<p>
|
||||||
|
<form method="post">
|
||||||
|
@csrf
|
||||||
|
<button type="submit" class="btn btn-primary font-weight-bold">Generate Recovery Codes</button>
|
||||||
|
</form>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
@endif
|
||||||
|
|
||||||
@endsection
|
@endsection
|
Loading…
Reference in a new issue