2023-08-27 13:26:06 +00:00
|
|
|
<?php declare(strict_types=1);
|
|
|
|
|
|
|
|
use Modules\Auth\Config\Auth;
|
|
|
|
|
|
|
|
?>
|
|
|
|
|
2022-10-16 10:36:54 +00:00
|
|
|
<?= helper('form') ?>
|
2023-08-27 13:26:06 +00:00
|
|
|
<?= $this->extend(config(Auth::class)->views['layout']) ?>
|
2022-10-15 11:22:08 +00:00
|
|
|
|
|
|
|
<?= $this->section('title') ?><?= lang('Auth.email2FATitle') ?> <?= $this->endSection() ?>
|
|
|
|
|
|
|
|
<?= $this->section('content') ?>
|
|
|
|
|
2022-10-16 10:36:54 +00:00
|
|
|
<form action="<?= url_to('auth-action-handle') ?>" method="POST" class="flex flex-col w-full gap-y-4">
|
|
|
|
<?= csrf_field() ?>
|
2022-10-15 11:22:08 +00:00
|
|
|
|
2022-10-16 10:36:54 +00:00
|
|
|
<Forms.Field
|
|
|
|
name="email"
|
|
|
|
label="<?= lang('Auth.email') ?>"
|
|
|
|
helper="<?= lang('Auth.confirmEmailAddress') ?>"
|
|
|
|
required="true"
|
|
|
|
type="email"
|
|
|
|
inputmode="email"
|
|
|
|
autocomplete="email"
|
|
|
|
value="<?= $user->email ?>"
|
|
|
|
/>
|
2022-10-15 11:22:08 +00:00
|
|
|
|
2022-10-16 10:36:54 +00:00
|
|
|
<Button variant="primary" type="submit" class="self-end"><?= lang('Auth.send') ?></Button>
|
|
|
|
</form>
|
2022-10-15 11:22:08 +00:00
|
|
|
|
|
|
|
|
|
|
|
<?= $this->endSection() ?>
|