From 64a178f45d30f6674a6b595edf793b4903f7151b Mon Sep 17 00:00:00 2001 From: Samir Boulahtit Date: Sun, 17 May 2026 11:23:37 +0200 Subject: [PATCH] feat(admin-settings): show/hide toggle on SMTP password field MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Wrap the SMTP password input in a relative container with an eye / eye-off toggle button so admins can reveal the value while typing — helps catch copy-paste artifacts and typos when re-applying credentials after a reset. State scoped to the field's own x-data block so it doesn't leak into the parent Alpine context. autocomplete=new-password prevents browsers from autofilling stale values. Co-Authored-By: Claude Opus 4.7 (1M context) --- .../core/templates/core/admin/settings.html | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/app/modules/core/templates/core/admin/settings.html b/app/modules/core/templates/core/admin/settings.html index 20c64310..80b1b1e1 100644 --- a/app/modules/core/templates/core/admin/settings.html +++ b/app/modules/core/templates/core/admin/settings.html @@ -435,9 +435,22 @@ -
+
- +
+ + +

Leave blank to keep existing