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="{{ 'two-factor' }}" method="POST">
|
|
|
|
|
|
|
|
<div class="box login-box">
|
|
|
|
<div class="box-header">
|
2020-03-31 23:36:56 -07:00
|
|
|
<h2 class="box-title"> {{ trans('admin/settings/general.two_factor') }}</h2>
|
2016-10-29 05:50:55 -07:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="login-box-body">
|
|
|
|
<div class="row">
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Notifications -->
|
|
|
|
@include('notifications')
|
|
|
|
|
|
|
|
<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' : '' }}">
|
2020-04-01 04:30:54 -07:00
|
|
|
<input class="form-control" placeholder="{{ trans('admin/settings/general.two_factor_secret') }}" name="two_factor_secret" type="text" aria-label="two_factor_secret" autofocus>
|
2021-09-26 01:11:08 -07:00
|
|
|
{!! $errors->first('two_factor_secret', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
|
2016-10-29 05:50:55 -07:00
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="box-footer">
|
|
|
|
<button class="btn btn-lg btn-primary btn-block">{{ trans('general.submit') }}</button>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-12 col-sm-12 col-xs-12 text-right" style="padding-top: 10px;">
|
2022-05-13 13:35:13 -07:00
|
|
|
<a href="{{ route('logout') }}" onclick="event.preventDefault(); document.getElementById('logout-form').submit();">
|
|
|
|
{{ trans('general.cancel') }}
|
|
|
|
</a>
|
|
|
|
<form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;">
|
|
|
|
{{ csrf_field() }}
|
|
|
|
</form>
|
|
|
|
|
|
|
|
|
2016-10-29 05:50:55 -07:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
@stop
|