summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/gallery/views/reauthenticate.html.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/gallery/views/reauthenticate.html.php b/modules/gallery/views/reauthenticate.html.php
index 8611d0f7..9a6696fb 100644
--- a/modules/gallery/views/reauthenticate.html.php
+++ b/modules/gallery/views/reauthenticate.html.php
@@ -7,4 +7,9 @@
<?= t("You are currently logged in as %user_name.", array("user_name" => $user_name)) ?>
</p>
<?= $form ?>
+ <script type="text/javascript">
+ $("#g-reauthenticate-form").ready(function() {
+ $("#g-password").focus();
+ });
+ </script>
</div> \ No newline at end of file