Comments

mrfelton’s picture

Status: Active » Needs review
StatusFileSize
new558 bytes

This patch changes the login to AND the condition plugins wen performing matching

erikwebb’s picture

erikwebb’s picture

StatusFileSize
new584 bytes

Can we simplify the logic?

mrfelton’s picture

Status: Needs review » Reviewed & tested by the community

that works

erikwebb’s picture

Let's get #1920614: Force password change on first login 7.x-2.x in first, so then we can write tests against using multiple conditions.

Status: Reviewed & tested by the community » Needs work

The last submitted patch, password_policy-condition_AND-1923990-3.patch, failed testing.

erikwebb’s picture

Status: Needs work » Needs review
StatusFileSize
new732 bytes
erikwebb’s picture

Issue summary: View changes
Status: Needs review » Needs work

We should add a test to verify this behavior.

hanoii’s picture

StatusFileSize
new886 bytes

Re-rolliing patch.

aohrvetpv’s picture

New patch:
- Save a line by not using the $does_match variable.
- Remove unrelated whitespace change from #9.

Still need tests.

aohrvetpv’s picture

Status: Needs work » Needs review
StatusFileSize
new2.81 KB

Add test.

A little duplication of code between tests, but I think this is OK.

  • AohRveTPV committed aa5ecfd on 7.x-2.x
    Issue #1923990 by erikwebb, AohRveTPV, mrfelton, hanoii: Run multiple...

  • AohRveTPV committed 9d68e01 on 7.x-2.x
    Revert "Issue #1923990 by erikwebb, AohRveTPV, mrfelton, hanoii: Run...
  • AohRveTPV committed b3ccc02 on 7.x-2.x
    Issue #1923990 by erikwebb, AohRveTPV, mrfelton, hanoii, sophie.spillane...
aohrvetpv’s picture

Status: Needs review » Fixed

Went ahead and committed because this can be seen as a bug and the fix seems fairly straightforward.

With first commit, forgot to credit someone who helped with this in #1888366: Password Policy should optionally ignore users managed by other modules. So, reverted and recommitted.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.