mein-sterntours/resources/views/admin/google2fa_modal.blade.php
2021-11-09 18:38:44 +01:00

41 lines
No EOL
1.8 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<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>Richten Sie Ihre Zwei-Faktor-Authentifizierung ein, indem Sie mit der Google Authenticator App den Barcode unten scannen.</p>
<br>
<div><strong>Secret Key</strong></div>
<div class="key">{{ $MyGoogle2FA->getBy('secretKey') }}</div>
<div class="qrcode">
{!! $MyGoogle2FA->getBy('inlineUrl') !!}
</div>
</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-primary">{{__('Google2FA jetzt aktivieren')}}</button>
</div>
{!! Form::close() !!}