#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 <span data-processor="relativetime" data-value="2026-09-30T07:26:57+00:00" > 09/30/26, 07:26 </span> -
Oliver Bartsch changed Duplicates #109864 <span data-processor="relativetime" data-value="2026-09-30T20:23:39+00:00" > 09/30/26, 20:23 </span>
-
Oliver Bartsch changed status
Under ReviewClosed <span data-processor="relativetime" data-value="2026-09-30T20:23:44+00:00" > 09/30/26, 20:23 </span>