Thanks for the option to hide password field on user edit pages as mentioned in https://www.drupal.org/project/social_auth_hid/issues/3164384

However, when that config is enabled and you try to add a new user, a validation message is shown "Password field is required".

Comments

hardikpandya created an issue. See original summary.

attiks’s picture

Thanks for reporting, can you create a patch to solve this?

hardikpandya’s picture

Status: Active » Needs review
StatusFileSize
new4.42 KB

I am of the opinion that it does not make much sense to make the user enter a password while registering if the config "Hide password fields on user edit page" is enabled as that password would be of no use to him later. In this case, we should hide it from the user register page as well and set a random password just to ensure the user account doesn't end up with an empty password value.

Adding a patch for this.

  • attiks committed a00385f on 8.x-2.x authored by hardikpandya
    Issue #3202430 by hardikpandya: Not able to add user if "Hide password...
attiks’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.