35 lines
No EOL
1.5 KiB
PHP
35 lines
No EOL
1.5 KiB
PHP
|
||
<div class="modal-header">
|
||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||
<h5 class="modal-title">Google2Fa</h5>
|
||
</div>
|
||
{!! Form::open(['url' => route('admin_user_update_modal', [$action]), 'class' => 'form-horizontal']) !!}
|
||
<div class="modal-body">
|
||
<input type="hidden" name="id" id="id" value="{{ $user->id }}">
|
||
<input type="hidden" name="action" id="action" value="{{ $action }}">
|
||
|
||
<style>
|
||
.qrcode {
|
||
display: inline-block;
|
||
width: 280px;
|
||
margin: 20px 0px 25px 0px;
|
||
padding: 15px;
|
||
border: 1px solid black;
|
||
text-align: center;
|
||
}
|
||
</style>
|
||
<div class="text-center">
|
||
<h5>{{ $MyGoogle2FA->getBy('name') }} | {{ $MyGoogle2FA->getBy('email') }}</h5>
|
||
<p>Zwei-Faktor-Authentifizierung zurücksetzen.</p>
|
||
<br>
|
||
</div>
|
||
<hr>
|
||
<p><strong>Vor</strong> der Aktivierung wird beim Login er QR-Code und Secret Key angezeigt, um die Google2FA einzurichten.</p>
|
||
<p><strong>Nach</strong> der Aktivierung wird beim Login die Google2FA abgefragt.</p>
|
||
<p><strong>Zurücksetzen</strong> eines aktivierten Codes erzeugt einen neuen Google2FA Code der erneut in die Google Authenticator App hinzugefügt werden muss.</p>
|
||
</div>
|
||
<div class="modal-footer">
|
||
<button type="button" class="btn btn-default" data-dismiss="modal">{{__('close')}}</button>
|
||
<button type="submit" class="btn btn-danger">{{__('Google2FA jetzt zurücksetzen')}}</button>
|
||
</div>
|
||
{!! Form::close() !!} |