If a user account is marked as "Force password change on next login" and the user attempts to login from a Bakery slave site here's what happens:
- User logs in
- Password Policy module detects that the user needs to change their password and does a drupal_set_message('change your password') and redirects to /user/edit
- Bakery redirects the user to the master site
- dsm is gone - we're on a different site now. From the user's point of view they were just whisked away to the admin site for no apparent reason and can't navigate anywhere else

Patches coming soon.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

cweagans’s picture

Patches attached for both the 7.x-1.x branch and the 7.x-2.x branch. Commit credit should be given to http://drupal.org/user/18981 - Dave came up with the fix.

cweagans’s picture

Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, 1819372_1-7.x-2.x-password-policy-bakery-fix.patch, failed testing.

cweagans’s picture

Better patches (without all the whitespace cleanup)

erikwebb’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 1819372_3-7.x-2.x-password-policy-bakery-fix.patch, failed testing.

erikwebb’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 4: 1819372_3-7.x-1.x-password-policy-bakery-fix.patch, failed testing.

AohRveTPV’s picture

Version: 7.x-2.x-dev » 7.x-1.x-dev
Issue summary: View changes
Status: Needs work » Needs review
FileSize
2.79 KB

Looks like this problem still exists in 7.x-1.x. This patch should fix it. Please test--I do not have a Bakery setup on which to test.

The "Force password change at next login" feature does not exist in 7.x-2.x currently.

AohRveTPV’s picture

Status: Needs review » Closed (won't fix)

No longer any interest in this change, apparently. Please re-open if there is an interest.

Would seem to be better to not add code for module compatibility no one needs.