Impossible to set password when creating account

Created on 1 May 2023, about 1 year ago

Problem/Motivation

When user with administer users permission and external account tries to create account for another user this module incorrectly hides password fields from the form.

Steps to reproduce

  • Have a user with external account and administer users permission
  • Log in as that user
  • Navigate to /admin/people/create

Expected result

Password field is present.

Actual result

Password field not present.

Proposed resolution

Apply form alter hook more precise. At the moment openid_connect_form_user_form_alter() is triggered not only for user_form, but also for user_register_form.

Remaining tasks

  • Review
  • Commit

User interface changes

None.

API changes

None.

Data model changes

None.

🐛 Bug report
Status

RTBC

Version

3.0

Component

Code

Created by

🇳🇿New Zealand RoSk0 Wellington

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024