2016-10-29 05:50:55 -07:00
|
|
|
@extends('layouts/basic')
|
|
|
|
|
|
|
|
|
|
|
|
{{-- Page content --}}
|
|
|
|
@section('content')
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="col-md-4 col-md-offset-4">
|
|
|
|
<form role="form" action="{{ route('two-factor') }}" method="POST">
|
|
|
|
|
|
|
|
<div class="box login-box">
|
|
|
|
<div class="box-header">
|
|
|
|
<h3 class="box-title"> {{ trans('admin/settings/general.two_factor_enrollment') }}</h3>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="login-box-body">
|
|
|
|
<div class="row">
|
|
|
|
|
|
|
|
<!-- Notifications -->
|
|
|
|
@include('notifications')
|
|
|
|
|
|
|
|
<div class="col-md-12">
|
|
|
|
{{ trans('admin/settings/general.two_factor_enrollment_text') }}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-md-12 text-center">
|
2019-03-19 23:18:16 -07:00
|
|
|
{!! $barcode_obj->getHtmlDiv() !!}
|
2016-10-29 05:50:55 -07:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
|
|
|
|
<div class="col-md-12">
|
|
|
|
<!-- CSRF Token -->
|
|
|
|
<input type="hidden" name="_token" value="{{ csrf_token() }}" />
|
|
|
|
|
|
|
|
<fieldset>
|
|
|
|
<div class="form-group{{ $errors->has('secret') ? ' has-error' : '' }}">
|
|
|
|
<input class="form-control" placeholder="{{ trans('admin/settings/general.two_factor_secret') }}" name="two_factor_secret" type="text" autofocus>
|
|
|
|
{!! $errors->first('two_factor_secret', '<span class="alert-msg"><i class="fa fa-times"></i> :message</span>') !!}
|
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div class="box-footer">
|
|
|
|
<button class="btn btn-lg btn-primary btn-block">{{ trans('admin/settings/general.two_factor_config_complete') }}</button>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
@stop
|