Closed (fixed)
Project:
Drupal core
Version:
main
Component:
user system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
3 Feb 2026 at 14:38 UTC
Updated:
2 Mar 2026 at 18:05 UTC
Jump to comment: Most recent
In #2648272: Deprecate retrieving password from $account we deprecated access to $account->password - in Drupal 12 we should stop setting this property entirely.
Remove code that sets $account->password.
Remove the __get() deprecation for it.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
longwaveComment #4
smustgrave commentedLooks like a good removal.
Comment #6
catchCommitted/pushed to main, thanks!