diff --git a/docs/documentation/upgrading/topics/changes/changes-26_4_0.adoc b/docs/documentation/upgrading/topics/changes/changes-26_4_0.adoc
index b8121504421..c1915bddf01 100644
--- a/docs/documentation/upgrading/topics/changes/changes-26_4_0.adoc
+++ b/docs/documentation/upgrading/topics/changes/changes-26_4_0.adoc
@@ -99,6 +99,12 @@ When tracing is enabled, now also calls to other nodes of a {project_name} clust
To disable this kind of tracing, set the option `tracing-infinispan-enabled` to `false`.
+=== Login theme optimized for OTP and recovery code entry
+
+The input fields in the login theme for OTP and recovery codes and have been optimized:
+
+* The input mode is now `numeric`, which will ease the input on mobile devices.
+* The auto-complete is set to `one-time-code` to avoid interference with password managers.
// ------------------------ Deprecated features ------------------------ //
== Deprecated features
diff --git a/themes/src/main/resources/theme/base/login/login-config-totp.ftl b/themes/src/main/resources/theme/base/login/login-config-totp.ftl
index d531eba0ff3..670956af227 100755
--- a/themes/src/main/resources/theme/base/login/login-config-totp.ftl
+++ b/themes/src/main/resources/theme/base/login/login-config-totp.ftl
@@ -56,8 +56,9 @@
*