Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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.
Comments
Comment #1
cweagansPatches 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.
Comment #2
cweagansComment #4
cweagansBetter patches (without all the whitespace cleanup)
Comment #5
erikwebb CreditAttribution: erikwebb commentedComment #7
erikwebb CreditAttribution: erikwebb commented4: 1819372_3-7.x-1.x-password-policy-bakery-fix.patch queued for re-testing.
Comment #9
AohRveTPV CreditAttribution: AohRveTPV commentedLooks 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.
Comment #10
AohRveTPV CreditAttribution: AohRveTPV commentedNo 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.