summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/gallery/views/maintenance.html.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/gallery/views/maintenance.html.php b/modules/gallery/views/maintenance.html.php
index 6351b6ab..0b832a2d 100644
--- a/modules/gallery/views/maintenance.html.php
+++ b/modules/gallery/views/maintenance.html.php
@@ -44,6 +44,9 @@
<?= t("This site is currently only accessible by site administrators.") ?>
</p>
<?= auth::get_login_form("login/auth_html") ?>
+ <script type="text/javascript">
+ document.forms[0].name.focus();
+ </script>
</body>
</html>