summaryrefslogtreecommitdiffstats
path: root/web/html/login.php
diff options
context:
space:
mode:
authorMarcel Korpel <marcel.korpel@gmail.com>2016-01-30 01:04:23 +0100
committerLukas Fleischer <lfleischer@archlinux.org>2016-01-30 11:15:17 +0100
commit6b766b8e77a633e147a697aaf9f86ad71bcf3dfb (patch)
tree8ec1f766093acf5669ab3dabcd602cca1294866b /web/html/login.php
parent6d6df72183970040839cc6c4e6066cc8a6094d65 (diff)
downloadaur-6b766b8e77a633e147a697aaf9f86ad71bcf3dfb.tar.gz
aur-6b766b8e77a633e147a697aaf9f86ad71bcf3dfb.tar.xz
Shorten maxlength of email input fields to 254 characters
After 24734d0 (Shorten Email column to 254 characters, 2015-11-12) the maximum length of the input fields should be shortened, too. Signed-off-by: Marcel Korpel <marcel.korpel@gmail.com> Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/html/login.php')
-rw-r--r--web/html/login.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/html/login.php b/web/html/login.php
index 0a2a1c97..7345439d 100644
--- a/web/html/login.php
+++ b/web/html/login.php
@@ -29,7 +29,7 @@ html_header('AUR ' . __("Login"));
<?php endif; ?>
<p>
<label for="id_username"><?= __('User name or email address') . ':'; ?></label>
- <input id="id_username" type="text" name="user" size="30" maxlength="<?= max(config_get_int('options', 'username_max_len'), 256); ?>" value="<?php if (isset($_POST['user'])) { print htmlspecialchars($_POST['user'], ENT_QUOTES); } ?>" autofocus="autofocus" />
+ <input id="id_username" type="text" name="user" size="30" maxlength="<?= max(config_get_int('options', 'username_max_len'), 254); ?>" value="<?php if (isset($_POST['user'])) { print htmlspecialchars($_POST['user'], ENT_QUOTES); } ?>" autofocus="autofocus" />
</p>
<p>
<label for="id_password"><?= __('Password') . ':'; ?></label>