Skip to content

Commit e70314c

Browse files
authored
Merge pull request #1 from Sammyskills/Sammyskills-patch-1
Update Magic link view template
2 parents c38c374 + aab005c commit e70314c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Views/magic_link_form.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
<div class="card col-5 shadow-sm">
99
<div class="card-body">
1010
<h5 class="card-title mb-5"><?= lang('Auth.useMagicLink') ?></h5>
11+
12+
<?php if (session('error') !== null) : ?>
13+
<div class="alert alert-danger" role="alert"><?= session('error') ?></div>
14+
<?php endif ?>
1115

1216
<form action="<?= route_to('magic-link') ?>" method="post">
1317
<?= csrf_field() ?>

0 commit comments

Comments
 (0)