summaryrefslogtreecommitdiffstats
path: root/core/templates/login.php
diff options
context:
space:
mode:
authorMichael Letzgus <www@chronos.michael-letzgus.de>2017-03-18 16:00:21 +0100
committerMichael Letzgus <root@chronos.michael-letzgus.de>2017-03-18 16:06:57 +0100
commit98187bf942de2db6419b3d848c96e3955715de06 (patch)
tree4300be351c0c7584c0066877ff46f4bf0381acfa /core/templates/login.php
parent1febf042d82bbf71ca2ff0179df5c1f3e6bff6fe (diff)
downloadnextcloud-server-98187bf942de2db6419b3d848c96e3955715de06.tar.gz
nextcloud-server-98187bf942de2db6419b3d848c96e3955715de06.zip
Fix value of attribute "autocapitalize"
Change <input> attribute "autocapitalize" from value "off" to "none" regarding to apples dev guide: https://developer.apple.com/library/content/documentation/AppleApplications/Reference/SafariHTMLRef/Articles/Attributes.html#//apple_ref/doc/uid/TP40008058-autocapitalize Signed-off-by: Michael Letzgus <michaelletzgus@users.noreply.github.com>
Diffstat (limited to 'core/templates/login.php')
-rw-r--r--core/templates/login.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/templates/login.php b/core/templates/login.php
index 221242c0dcb..352893bd0dc 100644
--- a/core/templates/login.php
+++ b/core/templates/login.php
@@ -43,7 +43,7 @@ script('core', [
placeholder="<?php p($l->t('Username or email')); ?>"
value="<?php p($_['loginName']); ?>"
<?php p($_['user_autofocus'] ? 'autofocus' : ''); ?>
- autocomplete="on" autocapitalize="off" autocorrect="off" required>
+ autocomplete="on" autocapitalize="none" autocorrect="off" required>
<label for="user" class="infield"><?php p($l->t('Username or email')); ?></label>
</p>
@@ -51,7 +51,7 @@ script('core', [
<input type="password" name="password" id="password" value=""
placeholder="<?php p($l->t('Password')); ?>"
<?php p($_['user_autofocus'] ? '' : 'autofocus'); ?>
- autocomplete="on" autocapitalize="off" autocorrect="off" required>
+ autocomplete="on" autocapitalize="off" autocorrect="none" required>
<label for="password" class="infield"><?php p($l->t('Password')); ?></label>
</p>