#110852Login refresh modal cannot be submitted with the enter key
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.
- Log into the backend
- In the console:
(await import('typo3/backend/login-refresh.js’)).default.showLoginForm()@ - Type the password and press enter: nothing happens
- Type a wrong password and click “Login”: the modal closes
Reviews 1
History 23
-
Gerrit Code Review pushed patch set 1 for main to change 96205 status
NewUnder Review 09/30/26, 07:26 -
Oliver Bartsch changed Duplicates #109864 09/30/26, 20:23
-
Oliver Bartsch changed status
Under ReviewClosed 09/30/26, 20:23