Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.4k stars 1.98k forks source link

[Bug]: Password-less account is described as having a password set #62978

Open guarani opened 2 years ago

guarani commented 2 years ago

Quick summary

After logging into WordPress.com with an account that has no password set, under profile photo → Security, it says "You have a password configured..."). This seems inaccurate since the user hasn't yet set a password.

Steps to reproduce

  1. Start at https://wordpress.com/log-in
  2. Enter the email address of an WP.com account that was created without a password (e.g. via the WordPress Mobile apps)
  3. Click on the sign-in link in the email
  4. Click "Continue to WordPress.com" in the browser
  5. Click on the account profile photo
  6. Click on Security
  7. Notice the "Password" item in the security checklist is green
  8. Notice the message: You have a password configured, but can change it at any time.

What you expected to happen

I expected WP.com to acknowledge that the account doesn't yet have a password.

What actually happened

WP.com did not acknowledge that the account doesn't yet have a password.

Context

Exploratory testing

Browser

Mozilla Firefox

Simple/Atomic

Simple

Other notes

No response

Reproducibility

Consistent

Severity

Some (< 50%)

Available workarounds?

Yes, easy to implement

Workaround details

Even though WP.com incorrectly states that a password was set, a password can still be set by "changing" the password.

john-legg commented 1 year ago

📌 REPRODUCTION RESULTS

Tested on Simple – Replicated Tested on Atomic – Replicated Replicable outside of Dotcom – No (not applicable?)

📌 FINDINGS/SCREENSHOTS/VIDEO After creating a passwordless account using the mobile app sign up flow, I was able to see the "you have a password configured" message under me/security. Although it probably wasn't necessary, I created a simple and atomic site with the passwordless account and was able to see the same issue.

Passwordless

I don't believe this would be applicable on self-hosted since this is WPCOM account-specific, but please let me know if there's a way to do that.

📌 ACTIONS

Assigned to MarTech column (@Automattic/martech) since it's kind of signup-related. Please reassign if this is incorrect!