From c80f21d0830bf4711922c73340125473c02ab7cb Mon Sep 17 00:00:00 2001 From: "Beau Beauchamp, WebTigers" Date: Wed, 21 Oct 2026 09:20:22 -0400 Subject: [PATCH] TIGER-360: show-password eyeball toggle on all login + signup screens (v1.30.0) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The sign-in password field had no show/hide control. Added the eye-button toggle to every login + signup password field, reusing the existing global [data-tiger-pw-toggle] delegated handler in tiger.password-strength.js (already loaded on the auth layout) — markup only, no new JS. - auth/login (1 field), auth/reset (new + confirm), auth/lock (1 field): wrap the input in an .input-group with the fa-eye toggle button. Signup already had it. - New i18n key core.auth.show_password in all 7 core locales (en/es/pt/hi/de/fr/tlh). Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01ASauLLscjqdsNqBNsx2Typ --- CHANGELOG.md | 9 ++++++++- core/languages/de/core.php | 1 + core/languages/en/core.php | 1 + core/languages/es/core.php | 1 + core/languages/fr/core.php | 1 + core/languages/hi/core.php | 1 + core/languages/pt/core.php | 1 + core/languages/tlh/core.php | 1 + core/views/scripts/auth/lock.phtml | 7 +++++-- core/views/scripts/auth/login.phtml | 7 +++++-- core/views/scripts/auth/reset.phtml | 14 ++++++++++---- library/Tiger/Version.php | 2 +- 12 files changed, 36 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f1715e1..a54fece0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,14 @@ All notable changes to **Tiger Core** (`webtigers/tiger-core`). Format follows ## [Unreleased] -## [1.29.0] — 2026-10-21 +## [1.30.0] — 2026-10-21 + +### Added +- **Show-password eyeball toggle on every login + signup screen** (TIGER-360). The sign-in password + field now has a show/hide eye button, and the same control is present on the password-reset (new + + confirm), lock-screen, and signup fields. Reuses the existing global `[data-tiger-pw-toggle]` handler + (`tiger.password-strength.js`, already loaded on the auth layout) — markup only, no new JS. New i18n + key `core.auth.show_password` across all seven core locales. ### Changed - **A signed-in user who hits a page above their role is now redirected to their own dashboard, not diff --git a/core/languages/de/core.php b/core/languages/de/core.php index e5e94a8c..7005e54b 100644 --- a/core/languages/de/core.php +++ b/core/languages/de/core.php @@ -58,6 +58,7 @@ // --- Authentifizierung: gemeinsame Beschriftungen --- 'core.auth.email' => 'E-Mail', 'core.auth.password' => 'Passwort', + 'core.auth.show_password' => 'Passwort anzeigen', 'core.auth.email_code' => 'Mir einen Code per E-Mail senden', 'core.auth.back_to_login' => 'Zurück zur Anmeldung', 'core.auth.return_to' => 'Zurück zu %s', diff --git a/core/languages/en/core.php b/core/languages/en/core.php index 882a87a6..c381ab8b 100644 --- a/core/languages/en/core.php +++ b/core/languages/en/core.php @@ -62,6 +62,7 @@ // --- Auth: shared labels --- 'core.auth.email' => 'Email', 'core.auth.password' => 'Password', + 'core.auth.show_password' => 'Show password', 'core.auth.email_code' => 'Email me a code', 'core.auth.back_to_login' => 'Back to sign in', 'core.auth.return_to' => 'Return to %s', diff --git a/core/languages/es/core.php b/core/languages/es/core.php index c350a93d..7843aae0 100644 --- a/core/languages/es/core.php +++ b/core/languages/es/core.php @@ -58,6 +58,7 @@ // --- Autenticación: etiquetas compartidas --- 'core.auth.email' => 'Correo electrónico', 'core.auth.password' => 'Contraseña', + 'core.auth.show_password' => 'Mostrar contraseña', 'core.auth.email_code' => 'Enviarme un código', 'core.auth.back_to_login' => 'Volver a iniciar sesión', 'core.auth.return_to' => 'Volver a %s', diff --git a/core/languages/fr/core.php b/core/languages/fr/core.php index 011c44bf..968e8941 100644 --- a/core/languages/fr/core.php +++ b/core/languages/fr/core.php @@ -58,6 +58,7 @@ // --- Authentification : libellés partagés --- 'core.auth.email' => 'E-mail', 'core.auth.password' => 'Mot de passe', + 'core.auth.show_password' => 'Afficher le mot de passe', 'core.auth.email_code' => 'M’envoyer un code par e-mail', 'core.auth.back_to_login' => 'Retour à la connexion', 'core.auth.return_to' => 'Retour à %s', diff --git a/core/languages/hi/core.php b/core/languages/hi/core.php index 223eec14..88da6da7 100644 --- a/core/languages/hi/core.php +++ b/core/languages/hi/core.php @@ -58,6 +58,7 @@ // --- प्रमाणीकरण: साझा लेबल --- 'core.auth.email' => 'ईमेल', 'core.auth.password' => 'पासवर्ड', + 'core.auth.show_password' => 'पासवर्ड दिखाएं', 'core.auth.email_code' => 'मुझे एक कोड ईमेल करें', 'core.auth.back_to_login' => 'लॉग इन पर वापस जाएँ', 'core.auth.return_to' => '%s पर वापस जाएँ', diff --git a/core/languages/pt/core.php b/core/languages/pt/core.php index ad2115cc..5f4e6bd1 100644 --- a/core/languages/pt/core.php +++ b/core/languages/pt/core.php @@ -58,6 +58,7 @@ // --- Autenticação: rótulos compartilhados --- 'core.auth.email' => 'E-mail', 'core.auth.password' => 'Senha', + 'core.auth.show_password' => 'Mostrar senha', 'core.auth.email_code' => 'Enviar um código por e-mail', 'core.auth.back_to_login' => 'Voltar ao login', 'core.auth.return_to' => 'Voltar para %s', diff --git a/core/languages/tlh/core.php b/core/languages/tlh/core.php index c9fec993..65500bad 100644 --- a/core/languages/tlh/core.php +++ b/core/languages/tlh/core.php @@ -62,6 +62,7 @@ // --- Auth: shared labels --- 'core.auth.email' => 'Email', 'core.auth.password' => 'Password', + 'core.auth.show_password' => 'Show password', 'core.auth.email_code' => 'Email me a code', 'core.auth.back_to_login' => 'Back to sign in', 'core.auth.return_to' => 'Return to %s', diff --git a/core/views/scripts/auth/lock.phtml b/core/views/scripts/auth/lock.phtml index 4aecddef..98ee78a0 100644 --- a/core/views/scripts/auth/lock.phtml +++ b/core/views/scripts/auth/lock.phtml @@ -32,8 +32,11 @@ $who = $this->escape(($identity && $identity->username) ? $identity->userna
- +
+ + +
diff --git a/core/views/scripts/auth/login.phtml b/core/views/scripts/auth/login.phtml index 8b3279b0..57f22d31 100644 --- a/core/views/scripts/auth/login.phtml +++ b/core/views/scripts/auth/login.phtml @@ -31,8 +31,11 @@
- +
+ + +
escape($this->t('core.auth.login.forgot')) ?> diff --git a/core/views/scripts/auth/reset.phtml b/core/views/scripts/auth/reset.phtml index 0a723c98..d0c91fd3 100644 --- a/core/views/scripts/auth/reset.phtml +++ b/core/views/scripts/auth/reset.phtml @@ -24,13 +24,19 @@ $code = $this->escape($this->code ?? '');
- +
+ + +
- +
+ + +
formRecaptcha(); if ($rc): ?>
diff --git a/library/Tiger/Version.php b/library/Tiger/Version.php index 4c33dac9..26d6a72a 100644 --- a/library/Tiger/Version.php +++ b/library/Tiger/Version.php @@ -9,5 +9,5 @@ class Tiger_Version { /** Current Tiger Core version. Keep in lockstep with the git tag cut for a release. */ - const VERSION = '1.29.0'; + const VERSION = '1.30.0'; }