]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Update login.html to not autocapitalize username 36/head
authorDaniel Blittschau <d@dblitt.com>
Fri, 26 Nov 2021 22:15:08 +0000 (16:15 -0600)
committerGitHub <noreply@github.com>
Fri, 26 Nov 2021 22:15:08 +0000 (16:15 -0600)
src/documents/templates/registration/login.html

index 0b117bd5ca3b366ed3023575aa286cd7d082d2a1..70e1d6409ff243839ff86cdd0e71ff00a818f408 100644 (file)
@@ -53,7 +53,7 @@
                        {% translate "Username" as i18n_username %}
                        {% translate "Password" as i18n_password %}
                        <label for="inputUsername" class="sr-only">{{ i18n_username }}</label>
-                       <input type="text" name="username" id="inputUsername" class="form-control" placeholder="{{ i18n_username }}" required autofocus>
+                       <input type="text" name="username" id="inputUsername" class="form-control" placeholder="{{ i18n_username }}" autocorrect="off" autocapitalize="none" required autofocus>
                        <label for="inputPassword" class="sr-only">{{ i18n_password }}</label>
                        <input type="password" name="password" id="inputPassword" class="form-control" placeholder="{{ i18n_password }}" required>
                        <button class="btn btn-lg btn-primary btn-block" type="submit">{% translate "Sign in" %}</button>