Set disabled prop on ReadOnlyPasswordHashField Description
Set disabled prop on ReadOnlyPasswordHashField Description: a task in Lego-RL-SWE-Bench-Verified (Harbor dataset). Currently the django.contrib.auth.forms.UserChangeForm defines a clean password method that returns the initial password value to prevent (accidental) changes to the password value…
The task
Currently the django.contrib.auth.forms.UserChangeForm defines a clean_password method that returns the initial password value to prevent (accidental) changes to the password value. It is also documented that custom forms for the User model need to define this method:…
Part of Lego-X/Lego-RL-SWE-Bench-Verified.