Closed (fixed)
Project:
Force Password Change
Version:
6.x-3.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Sep 2010 at 13:10 UTC
Updated:
6 Oct 2010 at 04:40 UTC
In the .module file this line:
if($user->uid & $_GET['q'] != $change_password_url && $_GET['q'] != drupal_get_path_alias('logout'))
Should be this:
if($user->uid && $_GET['q'] != $change_password_url && $_GET['q'] != drupal_get_path_alias('logout'))
I'm not exactly sure why the wrong code fails in some cases and not others.
Comments
Comment #1
jaypanI'm actually surprised it even worked in the first place! Thank you for letting me know about it.
I'm going to try to do an update on this module this week - a few bugs have been reported in the last week or so that need fixing. I'll include this fix at that point.
Comment #2
jaypanThank you for tracking this down. The code has been fixed in version 6.x-3.2.
Comment #3
jaypan