73 lines
3.9 KiB
PHP
73 lines
3.9 KiB
PHP
@extends('layouts.auth')
|
|
|
|
@section('content')
|
|
|
|
<!-- Content -->
|
|
|
|
<div class="authentication-wrapper authentication-2 ui-bg-cover ui-bg-overlay-container px-4" style="background-image: url({{asset('images/sphinx.jpg')}});">
|
|
<div class="ui-bg-overlay bg-dark opacity-25"></div>
|
|
|
|
<div class="authentication-inner py-5">
|
|
|
|
<div class="card">
|
|
<div class="p-4 p-sm-5" style="padding-bottom: 1.5rem !important;">
|
|
<!-- Logo -->
|
|
<div class="d-flex justify-content-center align-items-center pb-2 mb-2">
|
|
<div class="">
|
|
<div class="w-100 position-relative">
|
|
<a href="https://www.sterntours.de"><img src="{{ asset('/images/stern-tours-logo.png') }}" alt="STERN TOURS" class=""></a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<p class="text-center text-muted font-weight-normal">Richten Sie Ihre Zwei-Faktor-Authentifizierung ein, indem Sie mit der Google Authenticator App den Barcode unten scannen.</p>
|
|
|
|
<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">
|
|
<div><strong>Secret Key</strong></div>
|
|
<div class="key">{{ $MyGoogle2FA->getBy('secretKey') }}</div>
|
|
|
|
<div class="qrcode">
|
|
{!! $MyGoogle2FA->getBy('inlineUrl') !!}
|
|
</div>
|
|
</div>
|
|
<hr>
|
|
<p class="text-muted"><strong>Vor</strong> der Aktivierung wird beim Login er QR-Code und Secret Key angezeigt, um die Google2FA einzurichten.</p>
|
|
<p class="text-muted"><strong>Nach</strong> der Aktivierung wird beim Login die Google2FA abgefragt.</p>
|
|
<p class="text-muted"><strong>Zurücksetzen</strong> eines aktivierten Codes erzeugt einen neuen Google2FA Code der erneut in die Google Authenticator App hinzugefügt werden muss.</p>
|
|
|
|
<form method="POST" class="my-5" action="{{ route('2fa') }}" aria-label="OTP">
|
|
@csrf
|
|
<input type="hidden" name="action" id="action" value="activate_user_one_time_password">
|
|
|
|
<div class="text-center">
|
|
<button type="submit" class="btn btn-primary">{{__('Google2FA jetzt aktivieren')}}</button>
|
|
</div>
|
|
<div class="text-center mt-2">
|
|
<a href="{{ route('logout') }}" class="btn btn-default">{{ __('Logout') }}</a>
|
|
</div>
|
|
</form>
|
|
<!-- / Form -->
|
|
|
|
<div class="mt-5">
|
|
<a class="update_modal_data_load" href="{{ route('data_protected') }}" data-url="{{ route('loading_modal') }}" data-data="data_protection" data-target="#modal-loading">{{ __('data protection') }}</a>
|
|
<a class="update_modal_data_load float-right" href="{{ route('imprint') }}" data-url="{{ route('loading_modal') }}" data-data="imprint" data-target="#modal-loading">{{ __('imprint') }}</a>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endsection
|