It would be great if there was a setting to force authenticated users to enable two factor authentication after logging in if they haven't already.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Eric115 created an issue. See original summary.

eric115’s picture

Status: Active » Needs review
StatusFileSize
new9.26 KB

Patch attached

studiosander’s picture

I tested this patch against the dev version. Works fine... Please apply this patch to the RC version... or make me co-owner so I can apply and maintain this module!

Greets,

Sander

sam152’s picture

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

I think this belongs in it's own contrib. I'd be happy to link it from the project page.

dpi’s picture

Assigned: eric115 » Unassigned

@studiosander Its safe to say the project remains well maintained, however this isnt the kind of direction the project wants to go in.

el7cosmos’s picture

StatusFileSize
new9.25 KB
new1.08 KB

\Symfony\Component\HttpKernel\Event\GetResponseEvent is deprecated since Symfony 4.3 and is no longer available in Symfony 6.2. As Drupal 10 uses Symfony 6.2, this must be changed to use \Symfony\Component\HttpKernel\Event\RequestEvent instead

mstrelan made their first commit to this issue’s fork.

mstrelan’s picture

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

Discussed with @larowlan who agreed to reopen this. Rerolled the patch in #6, added some constructor property promotion, autowire, autoconfigure and return types. Needs work to get the pipeline green.

mstrelan’s picture

Status: Needs work » Needs review

That was more involved than I had hoped. Should be green now.

larowlan made their first commit to this issue’s fork.

  • larowlan committed 32c20ed6 on 8.x-1.x authored by mstrelan
    Issue #3074465 by mstrelan, el7cosmos, eric115, sam152, dpi: Add option...
larowlan’s picture

Status: Needs review » Fixed

Spoke with @dpi about this.

I realise @sam152 was keen to keep this module lean, but with the latest release that includes a fair bit on the security front, that ship has sailed.

We're running this patch on several sites so rather than continually rerolling it, going to merge it.

  • larowlan committed 37a3c61b on 8.x-1.x
    Revert "Issue #3074465 by mstrelan, el7cosmos, eric115, sam152, dpi: Add...
larowlan’s picture

For those wishing to remain on the branch without this, I've put it into a 2.x branch

larowlan’s picture

Version: 8.x-1.x-dev » 2.x-dev

This will only be in the 2.x series

Status: Fixed » Closed (fixed)

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