Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
auth: Update login.html to use the max_length from the django form.
Ritwik Gupta64755871d87d
diff --git a/templates/zerver/login.html b/templates/zerver/login.htmlindex a8ec5ea3dc4..05e4d4bf4d6 100644--- a/templates/zerver/login.html+++ b/templates/zerver/login.html@@ -91,7 +91,7 @@ page can be easily identified in it's respective JavaScript file. --><input id="id_username" type="{% if not require_email_format_usernames %}text{% else %}email{% endif %}"name="username" class="{% if require_email_format_usernames %}email {% endif %}required"{% if email %} value="{{ email }}" {% else %} value="" autofocus {% endif %}- maxlength="72" required />+ maxlength="{{ form.username.field.max_length }}" required /><label for="id_username">{% if not require_email_format_usernames and email_auth_enabled %}{{ _('Email or username') }}