Skip to content

Commit 1f67d00

Browse files
committed
Keep username input value on post for login box
1 parent c2806bb commit 1f67d00

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

app/template/components/user.tpl

+6-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@
1717
}
1818
?>
1919

20+
[data-v-component-user] input[data-v-user-email]|value = <?php
21+
$email = $user['email'] ?? $_POST['email'] ?? '';
22+
echo htmlspecialchars($email);
23+
?>
24+
2025
[data-v-component-user]|append = <?php
2126
$component = $previous_component;
22-
?>
27+
?>

0 commit comments

Comments
 (0)