HomePhabricator

Convert "Rename User" from session MFA to one-shot MFA

Description

Convert "Rename User" from session MFA to one-shot MFA

Summary:
Depends on D20035. Ref T13222.

  • Allow individual transactions to request one-shot MFA if available.
  • Make "change username" request MFA.

Test Plan:

  • Renamed a user, got prompted for MFA, provided it.
  • Saw that I no longer remain in high-security after performing the edit.
  • Grepped for other uses of PhabricatorUserUsernameTransaction, found none.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13222

Differential Revision: https://secure.phabricator.com/D20036

Details

Provenance
epriestleyAuthored on Jan 25 2019, 6:16 PM
epriestleyPushed on Jan 28 2019, 5:41 PM
Reviewer
amckinley
Differential Revision
D20036: Convert "Rename User" from session MFA to one-shot MFA
Parents
rP29b4fad94173: Get rid of "throwResult()" for control flow in MFA factors
Branches
Unknown
Tags
Unknown
Tasks
T13222: 2018 Week 48-51 Bonus Content
Build Status
Buildable 21719
Build 29631: Run Core Tests