]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Enhancement: set autofocus on MFA code field (#8756)
authorMax Mehl <6170081+mxmehl@users.noreply.github.com>
Wed, 15 Jan 2025 21:32:55 +0000 (22:32 +0100)
committerGitHub <noreply@github.com>
Wed, 15 Jan 2025 21:32:55 +0000 (21:32 +0000)
src/documents/templates/mfa/authenticate.html

index e6d54b8fbaf25f240920e52a1201464f9575d972..cfc29da2b0f25118aee29b39eff7651e52dde6d3 100644 (file)
@@ -16,7 +16,7 @@
 {% block form_content %}
 {% translate "Code" as i18n_code %}
 <div class="form-floating">
-               <input type="code" name="code" id="inputCode" autocomplete="one-time-code" placeholder="{{ i18n_code }}" class="form-control" required>
+               <input type="code" name="code" id="inputCode" autocomplete="one-time-code" placeholder="{{ i18n_code }}" class="form-control" required autofocus>
                <label for="inputCode">{{ i18n_code }}</label>
 </div>
 <div class="d-grid mt-3">