Page MenuHomePhabricator

Add "email me a password" option to mobile account creation form
Open, HighPublic

Description

This task builds on the account creation form cleanup (T409236) by adding an option for users to skip choosing a password and instead receive an auto-generated one via email. This is an existing pattern on MediaWiki (create2 Manual:Account creation) but is currently not surfaced. Offering this option could simplify the form for users who prefer not to create a password on the spot.

User story & summary:

As a new user creating an account on mobile web, I want the option to receive a password via email so that I can complete registration without having to think of and type a password.

Design:

Scope: this task is scoped to Mobile only.

Claude 2026-03-09 12.35.40.png (1×1 px, 332 KB)

Acceptance Criteria:

AC1 - Checkbox display

  • Given I am on the account creation page on mobile web
  • When I view the password section
  • Then I see an "Email me a password instead" checkbox displayed above the password field, unchecked by default

When the checkbox is checked:

AC2 - Hide password fields

  • Given I check the "Email me a password instead" checkbox
  • When the form updates
  • Then the password field, password helper text, and confirm password field are hidden

AC3 - Email field becomes required

  • Given I check the "Email me a password instead" checkbox
  • When the form updates
  • Then the email address field label no longer shows "(recommended)" and the field becomes required

AC4 - Email field description removed

  • Given I check the "Email me a password instead" checkbox
  • When the form updates
  • Then the email address field description ("Email is required to recover your account...") is removed

When the checkbox is unchecked again:

AC5 - Restore default state

  • Given I uncheck the "Email me a password instead" checkbox
  • When the form updates
  • Then the password field, helper text, confirm password field, email optional indicator, and email description are all restored to their default state