diff --git a/modules/core/templates/loginuserpass.tpl.php b/modules/core/templates/loginuserpass.tpl.php
index a8b0fe60b75fcc22ccab26fb85d986b13447592f..7dbeab9ad703dc74e87f2175df9527a64561e612 100644
--- a/modules/core/templates/loginuserpass.tpl.php
+++ b/modules/core/templates/loginuserpass.tpl.php
@@ -168,7 +168,7 @@ if ($this->data['errorcode'] !== null) {
             <tr id="submit">
                 <td class="loginicon"></td><td></td>
                 <td>
-                    <button id="submit_button" class="btn" tabindex="6">
+                    <button id="submit_button" class="btn" tabindex="6" type="submit">
                         <?php echo $this->t('{login:login_button}'); ?>
                     </button>
                 </td>