mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-14 10:52:41 +01:00
e56dc8f299
Summary: Fixes T5506. Depends on D10133. When users remove an email address or change their primary email address, invalidate any outstanding password reset links. This is a very small security risk, but the current behavior is somewhat surprising, and an attacker could sit on a reset link for up to 24 hours and then use it to re-compromise an account. Test Plan: - Changed primary address and removed addreses. - Verified these actions invalidated outstanding one-time login temporary tokens. - Tried to use revoked reset links. - Revoked normally from new UI panel. Reviewers: btrahan Reviewed By: btrahan Subscribers: epriestley Maniphest Tasks: T5506 Differential Revision: https://secure.phabricator.com/D10134 |
||
---|---|---|
.. | ||
PhabricatorAuthDAO.php | ||
PhabricatorAuthFactorConfig.php | ||
PhabricatorAuthProviderConfig.php | ||
PhabricatorAuthProviderConfigTransaction.php | ||
PhabricatorAuthSession.php | ||
PhabricatorAuthTemporaryToken.php |