fix: added logic for password requirements on signup #230

Merged
hodlbod merged 1 commits from DeveshSingh/flotilla:fix/password-requirements into dev 2026-04-17 19:43:27 +00:00
Contributor

Title

Feat: Show password length requirement on email signup (#224)

Description

The Problem
Previously, when users attempted to sign up via email/password, the 12-character minimum password requirement was a hidden rule. Users only discovered the requirement after submitting the form and triggering an error toast, which caused unnecessary friction during the onboarding flow.

The Solution
This PR improves the UX by explicitly surfacing the password requirement before submission.

  • Modified SignUpEmail.svelte to utilize the info() snippet of the FieldInline component.
  • Added the text "Must be at least 12 characters long." directly underneath the password input field.
  • Formatted the file to adhere to project styling guidelines.

Testing Performed

  • Verified the password requirement text displays correctly below the password input in the "Sign up with Email" modal.
  • Verified standard form submission and client-side validation logic remains unchanged.

Closes #224

### Title Feat: Show password length requirement on email signup (#224) ### Description **The Problem** Previously, when users attempted to sign up via email/password, the 12-character minimum password requirement was a hidden rule. Users only discovered the requirement after submitting the form and triggering an error toast, which caused unnecessary friction during the onboarding flow. **The Solution** This PR improves the UX by explicitly surfacing the password requirement before submission. - Modified `SignUpEmail.svelte` to utilize the `info()` snippet of the `FieldInline` component. - Added the text `"Must be at least 12 characters long."` directly underneath the password input field. - Formatted the file to adhere to project styling guidelines. **Testing Performed** - Verified the password requirement text displays correctly below the password input in the "Sign up with Email" modal. - Verified standard form submission and client-side validation logic remains unchanged. Closes #224
DeveshSingh added 1 commit 2026-04-17 19:35:10 +00:00
hodlbod merged commit 56edad77a8 into dev 2026-04-17 19:43:27 +00:00
hodlbod deleted branch fix/password-requirements 2026-04-17 19:43:28 +00:00
Sign in to join this conversation.