summaryrefslogtreecommitdiff
path: root/templates/user_new.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fguillot@users.noreply.github.com>2014-03-25 21:25:54 -0400
committerFrédéric Guillot <fguillot@users.noreply.github.com>2014-03-25 21:25:54 -0400
commit34711f584651205cb6738b49df285d93a35393b5 (patch)
treef07a05279d36140b3b71313e0ed50e081709558b /templates/user_new.php
parent0d55f5aa35d21b79c5d79f7214c4c9e05b1d2684 (diff)
Ask the current password before changing a user password
Diffstat (limited to 'templates/user_new.php')
-rw-r--r--templates/user_new.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user_new.php b/templates/user_new.php
index 0c753c2a..8b15525b 100644
--- a/templates/user_new.php
+++ b/templates/user_new.php
@@ -9,7 +9,7 @@
<form method="post" action="?controller=user&amp;action=save" autocomplete="off">
<?= Helper\form_label(t('Username'), 'username') ?>
- <?= Helper\form_text('username', $values, $errors, array('autofocus required')) ?><br/>
+ <?= Helper\form_text('username', $values, $errors, array('autofocus', 'required')) ?><br/>
<?= Helper\form_label(t('Password'), 'password') ?>
<?= Helper\form_password('password', $values, $errors, array('required')) ?><br/>