
<?php $__env->startSection('content'); ?>
    <div class="container">
        <div class="row justify-content-md-center">
            <div class="col-md-8 ">
                <div class="card">
                    <div class="card-header">Require Two Factor Authentication</div>
                    <div class="card-body">
                        <p>In order to get access to this portal , you need to authenticate your device .</p>

                        <?php if($errors->any()): ?>
                            <div class="alert alert-danger">
                                <ul>
                                    <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <li><?php echo e($error); ?></li>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </ul>
                            </div>
                        <?php endif; ?>

                        <strong>Enter the pin from Authenticator app</strong><br/><br/>
                        <form class="form-horizontal" action="/2faVerify" method="POST">
                            <?php echo e(csrf_field()); ?>

                            <div class="form-group<?php echo e($errors->has('one_time_password-code') ? ' has-error' : ''); ?>">
                                <label for="one_time_password" class="col-md-4 control-label">One Time Password</label>
                                <div class="col-md-6">
                                    <input id="one_time_password" name="one_time_password" class="form-control"  type="text" required/>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="col-md-6 col-md-offset-4">
                                    <button class="btn btn-primary" type="submit">Authenticate</button>
                                </div>
                            </div>
                        </form>

                    </div>
                </div>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('auth.layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/amartools/resources/views/auth/google2fa.blade.php ENDPATH**/ ?>