summaryrefslogtreecommitdiffstats
path: root/core/lostpassword
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2013-03-04 22:11:57 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2013-03-04 22:11:57 +0100
commit07dee24cb29bd6fd49e26094b28d6506eaf3e96c (patch)
tree9cf2d567578830b7547164d0e1c2e017de25a8ff /core/lostpassword
parent5c061561c55b5adb6577c4ca2a2b4009b246db6d (diff)
downloadnextcloud-server-07dee24cb29bd6fd49e26094b28d6506eaf3e96c.tar.gz
nextcloud-server-07dee24cb29bd6fd49e26094b28d6506eaf3e96c.zip
explicitly add empty placeholder to inputs which use infield labels, fix #2049
Diffstat (limited to 'core/lostpassword')
-rw-r--r--core/lostpassword/templates/lostpassword.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/lostpassword/templates/lostpassword.php b/core/lostpassword/templates/lostpassword.php
index 55c070f3e0c..dc9f0bc8ad3 100644
--- a/core/lostpassword/templates/lostpassword.php
+++ b/core/lostpassword/templates/lostpassword.php
@@ -9,7 +9,7 @@
<?php endif; ?>
<p class="infield">
<label for="user" class="infield"><?php echo $l->t( 'Username' ); ?></label>
- <input type="text" name="user" id="user" value="" autocomplete="off" required autofocus />
+ <input type="text" name="user" id="user" placeholder="" value="" autocomplete="off" required autofocus />
</p>
<input type="submit" id="submit" value="<?php echo $l->t('Request reset'); ?>" />
<?php endif; ?>