diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-02-18 10:58:00 +0100 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-02-18 10:58:00 +0100 |
commit | dafa8fc37eeaadf602605645601be82f57237a1d (patch) | |
tree | 2adde12d5cdcf30010b79acfaea83b322f19e36f /core/templates/login.php | |
parent | 323cc1166be3545ed841c1cbafa29a3bcf7614aa (diff) | |
download | nextcloud-server-dafa8fc37eeaadf602605645601be82f57237a1d.tar.gz nextcloud-server-dafa8fc37eeaadf602605645601be82f57237a1d.zip |
do not autocapitalize fields on mobile, fix user name input. Also disable autocorrect and specify autocomplete
Diffstat (limited to 'core/templates/login.php')
-rw-r--r-- | core/templates/login.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/core/templates/login.php b/core/templates/login.php index e697ebe5326..b534e1edea5 100644 --- a/core/templates/login.php +++ b/core/templates/login.php @@ -26,15 +26,17 @@ </p> <p class="infield grouptop"> <input type="text" name="user" id="user" placeholder="" - value="<?php p($_['username']); ?>"<?php p($_['user_autofocus'] ? ' autofocus' : ''); ?> - autocomplete="on" required/> + value="<?php p($_['username']); ?>" + <?php p($_['user_autofocus'] ? 'autofocus' : ''); ?> + autocomplete="on" autocapitalize="off" autocorrect="off" required /> <label for="user" class="infield"><?php p($l->t('Username')); ?></label> <img class="svg" src="<?php print_unescaped(image_path('', 'actions/user.svg')); ?>" alt=""/> </p> <p class="infield groupbottom"> <input type="password" name="password" id="password" value="" placeholder="" - required<?php p($_['user_autofocus'] ? '' : ' autofocus'); ?> /> + <?php p($_['user_autofocus'] ? '' : 'autofocus'); ?> + autocomplete="on" autocapitalize="off" autocorrect="off" required /> <label for="password" class="infield"><?php p($l->t('Password')); ?></label> <img class="svg" id="password-icon" src="<?php print_unescaped(image_path('', 'actions/password.svg')); ?>" alt=""/> </p> |