We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13fc765 commit 0e1e7b1Copy full SHA for 0e1e7b1
src/Views/email_2fa_show.php
@@ -1,3 +1,9 @@
1
+<?php
2
+
3
+use CodeIgniter\Shield\Entities\User;
4
5
+?>
6
7
<?= $this->extend(config('Auth')->views['layout']) ?>
8
9
<?= $this->section('title') ?><?= lang('Auth.email2FATitle') ?> <?= $this->endSection() ?>
@@ -22,6 +28,7 @@
22
28
<div class="mb-2">
23
29
<input type="email" class="form-control" name="email"
24
30
inputmode="email" autocomplete="email" placeholder="<?= lang('Auth.email') ?>"
31
+ <?php /** @var User $user */ ?>
25
32
value="<?= old('email', $user->email) ?>" required>
26
33
</div>
27
34
0 commit comments