From d4d93bc0e3516c471e22140af26260152e1ee927 Mon Sep 17 00:00:00 2001
From: John O'Keefe
Date: Sun, 22 Feb 2026 18:40:22 -0500
Subject: [PATCH] feat(auth): add interactive password requirements validation
to registration
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- Add password requirements checklist with visual indicators (✓/○)
- Implement real-time validation for length, case, numbers, special chars
- Add confirm password field with matching validation
- Disable submit button until all requirements are met
- Add TypeScript client-side validation with password manager compatibility
---
templates/register.templ | 43 +++++++-
web/src/password_validation.ts | 177 +++++++++++++++++++++++++++++++++
2 files changed, 216 insertions(+), 4 deletions(-)
create mode 100644 web/src/password_validation.ts
diff --git a/templates/register.templ b/templates/register.templ
index c98f811..f502c0a 100644
--- a/templates/register.templ
+++ b/templates/register.templ
@@ -19,11 +19,11 @@ templ Register() {
@@ -48,6 +75,14 @@ templ Register() {
Already have an account? Login
+
+