Skip to content

User Password Not Set Upon Successful Registration when Passwordless Login is Enabled #65

@nathanoday

Description

@nathanoday

We are experiencing strange behavior with the self-registration form component.

Expected Behavior:

  1. When someone successfully completes the self registration form, with email verification code enabled, they are automatically logged in upon submitting the verification code.
  2. After logging out and then logging in with their password setup during registration, they should be able to do so.

Current Incorrect Behavior:

  • Part 1 above works correctly, as the "Enable Passwordless Login" setting is enabled and configured correctly.
  • However, upon logging out and attempting to log back in, the password is rejected, even when it is confirmed to be correct.

Observations about Error:

  • The experience cloud registration log (which is enabled and working correctly) shows that the password was captured correctly on the registration form.
  • The User.LastPasswordChangeDate field on the newly created experience cloud user is null, implying that the password has never been set.
  • This must mean that the user was only able to login successfully the very first time as part of registration because of the "Enable Passwordless Login" feature.
  • If a user follows the "Reset Password" procedure, they can successfully set and use a new password from then on.
  • This is occurring for all new site users.

Does anyone know why the password is being correctly captured from the registration form but not set on the User that gets created?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions