History log of /plugin/twofactor/Manager.php (Results 1 – 10 of 10)
Revision Date Author Comments
# f04d92b8 11-Jul-2023 Andreas Gohr <andi@splitbrain.org>

avoid rogue 2fa code generations

When a wiki uses rewriting, non-existing files are mapped to doku.php
and interpreted as page names. When using a 2fa provider that transmits
codes (like email) this

avoid rogue 2fa code generations

When a wiki uses rewriting, non-existing files are mapped to doku.php
and interpreted as page names. When using a 2fa provider that transmits
codes (like email) this could lead to sending multiple codes out for
each of these bogus requests. This patch ensures that the 2fa form (and
code sending) is only triggered for document requests as indicated by
the sec-fetch-dest request header.

show more ...


# c8525a21 11-Jul-2023 Andreas Gohr <andi@splitbrain.org>

protect password reset with 2fa

This needed some internal changes, because now 2fa data needs to be
checked for a user that is not logged in. Providers may need adjustments
if they access user data.

protect password reset with 2fa

This needed some internal changes, because now 2fa data needs to be
checked for a user that is not logged in. Providers may need adjustments
if they access user data. They should use the getUserData() method of
the abstract Provider class to do so.

show more ...


# 1c8522cb 15-Mar-2022 Andreas Gohr <andi@splitbrain.org>

changed how provider setup works

This makes the interface a bit cleaner and less confusing


# 5f8f561a 09-Mar-2022 Andreas Gohr <andi@splitbrain.org>

use action to register providers


# 4b9cff8a 03-Mar-2022 Andreas Gohr <andi@splitbrain.org>

manage optouts


# 6c996db8 03-Mar-2022 Andreas Gohr <andi@splitbrain.org>

fix cookie security

The cookie is now tied to the provider and cookie secret. This way it
can not be constructed without inside knowledge.


# b6119621 03-Mar-2022 Andreas Gohr <andi@splitbrain.org>

handle user default providers


# a386a536 02-Mar-2022 Andreas Gohr <andi@splitbrain.org>

initial login handling


# 8b7620a8 02-Mar-2022 Andreas Gohr <andi@splitbrain.org>

use Manager singleton to check and load providers


# fca58076 15-Feb-2022 Andreas Gohr <andi@splitbrain.org>

first go a profile refactoring