Issue Bug Closed

#110852Login refresh modal cannot be submitted with the enter key

Oliver Bartsch 09/30/26, 07:23 updated 09/30/26, 20:23

Description

The “keep me logged in” modal that appears after a backend session timeout cannot be submitted by pressing enter in the password field; only the “Login” button works.

The form contains two text inputs (the hidden username field kept for password managers and p_field) and no submit button, so browsers disable implicit submission.

Additionally, the “Login” button triggers requestSubmit() and, without waiting, fires a login_refresh request and closes the modal. With a wrong password, the modal closes anyway instead of staying open with an error.

Steps to reproduce
  1. Log into the backend
  2. In the console: (await import('typo3/backend/login-refresh.js’)).default.showLoginForm()@
  3. Type the password and press enter: nothing happens
  4. Type a wrong password and click “Login”: the modal closes

Reviews 1

History 23