Error is following
Error: Call to a member function id() on null in force_password_change_form_alter() (line 150 of docroot/modules/contrib/force_password_change/force_password_change.module)

Comments

chintan.vyas created an issue. See original summary.

chintan.vyas’s picture

StatusFileSize
new840 bytes

Adding patch for fixing this issue. This will ensure user id is available when resetting the password.

chintan.vyas’s picture

StatusFileSize
new2.55 KB

Updated patch.

AmolB’s picture

chintan.vyas, comment #3 fixed my issue. Thanks.

larisse’s picture

Version: 8.x-1.3 » 2.0.x-dev

This still a problem in 2.0.x version?

laisbonafe’s picture

Hi, I tested the functionality in 2.0.x version, and not have been errors

larisse’s picture

Status: Active » Closed (outdated)

I'm not able to reproduce this error too.
This already fixed in 2.0.x-dev branch.