Differential D20031 Diff 47838 src/applications/auth/xaction/PhabricatorAuthFactorProviderStatusTransaction.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/auth/xaction/PhabricatorAuthFactorProviderStatusTransaction.php
- This file was added.
This causes all users accounts to immediately hit the "MFA Setup Gate" on their next request if they need it. (If they don't need to hit the setup gate, we'll update the cache back to "1" and continue normally on their next request.)
The way this cache works is that "1" is a fast path to skip the checks, and "0" puts us on the slow path where we do all the checks correctly and actually read the full application state. So this is really "dirty a cache", not "mark all users as having no MFA in some meaningful way".
In this case, a more precise name for the column might be something like canUserDefinitelySkipMFASetupGateBecauseWeKnowTheyHaveMFA.