45 lines
1.4 KiB
PHP
45 lines
1.4 KiB
PHP
@extends('layouts.auth')
|
|
|
|
@section('page-title', trans('Two-Factor Authentication'))
|
|
|
|
@section('content')
|
|
|
|
<div class="col-md-8 col-lg-6 col-xl-5 mx-auto my-10p">
|
|
<div class="text-center">
|
|
<x-logo />
|
|
</div>
|
|
|
|
<div class="card mt-5">
|
|
<div class="card-body">
|
|
<h5 class="card-title text-center mt-4 text-uppercase">
|
|
@lang('Two-Factor Authentication')
|
|
</h5>
|
|
|
|
<div class="p-4">
|
|
@include('partials/messages')
|
|
|
|
<form role="form" action="<?= route('auth.token.validate') ?>" method="POST" autocomplete="off">
|
|
<input type="hidden" value="<?= csrf_token() ?>" name="_token">
|
|
|
|
<div class="form-group">
|
|
<label for="password" class="sr-only">@lang('Token')</label>
|
|
<input type="text"
|
|
name="code"
|
|
id="code"
|
|
class="form-control input-solid"
|
|
placeholder="@lang('2FA Code')">
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<button type="submit" class="btn btn-primary btn-lg btn-block" id="btn-reset-password">
|
|
@lang('Validate')
|
|
</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
@stop
|