Optimization Proposal for Discourse Admin Account Registration Process

AI-generated summary

QingZ11 reports a UX issue during Discourse admin account registration: users may not realize their password fails due to not meeting the 15-character minimum, causing confusion and delays. Though a notice exists, it’s easily overlooked. They propose two optimizations: (1) client-side password length validation (dismissed due to security concerns), and (2) visual feedback in the password field — using placeholder circles (◌) and dynamic filled circles (●) to indicate progress toward the 15-character requirement. This visual cue would help users understand the input status without exposing password content. chapoi acknowledges the issue, confirms it’s known and being addressed, and references prior reports on meta.discourse.org here and here. The community is actively working on a fix.

Background

Yesterday, I self-hosted a Discourse instance on my server. After the deployment was complete, I proceeded to register the administrator (admin) account. However, after clicking the Register button, there was no response, and the process seemed to hang.

It took me a significant amount of time to realize that the issue was due to my password not meeting the minimum character length requirement.

Existing Solution & Observation

I must admit that I did see the official, friendly reminder stating that the password must be 15 characters or more. Despite this clear notice, I did not immediately associate this requirement with the registration failure. I eventually made the connection and successfully registered the account.

Optimization Recommendation

I believe the registration logic could be optimized for a better user experience. Here are my suggested approaches:

  1. Client-Side Password Length Check: Introduce a check for the password string length upon submission.

    • Concern: This approach raises a security concern, as users might worry that the site is monitoring their password input, making its feasibility low.
  2. Enhance Password Input Field Formatting and Feedback (Recommended): Improve the password input field by adding visual constraints and dynamic feedback, similar to what is commonly used for password strength/format requirements.

    • 2.1. Before Input (Placeholder/Tooltip): ◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌

    • 2.2. After Input (Dynamic Feedback): ●●●●●●●●◌◌◌◌◌◌◌

      • B. Given that the user input is masked (obscured text), the remaining hollow circles represent the number of password characters still missing, and the solid circles represent the number of password characters already entered.

I am seeking confirmation on whether Approach 2 is a feasible and recommended path for optimization.

3 Likes

Hey @QingZ11

Welcome to the forum!

We are aware of the issue; it’s been reported here

and here

The problem is currently being worked on!

2 Likes