Skip to content

Commit 1f39289

Browse files
fix: Prefill password in demo mode
1 parent 5c59a6b commit 1f39289

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/views/sessions/new.phtml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@
6868
id="current-password"
6969
name="password"
7070
type="password"
71-
value=""
71+
<?php if (get_app_configuration('demo')): ?>
72+
value="<?= protect($form->password) ?>"
73+
<?php endif; ?>
7274
required
7375
data-input-password-target="input"
7476
autocomplete="current-password"

0 commit comments

Comments
 (0)