Page MenuHomePhabricator

D18792.diff
No OneTemporary

D18792.diff

diff --git a/src/applications/auth/controller/PhabricatorAuthNeedsMultiFactorController.php b/src/applications/auth/controller/PhabricatorAuthNeedsMultiFactorController.php
--- a/src/applications/auth/controller/PhabricatorAuthNeedsMultiFactorController.php
+++ b/src/applications/auth/controller/PhabricatorAuthNeedsMultiFactorController.php
@@ -15,6 +15,12 @@
return false;
}
+ public function shouldRequireEmailVerification() {
+ // Users who haven't verified their email addresses yet can still enroll
+ // in MFA.
+ return false;
+ }
+
public function handleRequest(AphrontRequest $request) {
$viewer = $this->getViewer();

File Metadata

Mime Type
text/plain
Expires
Mon, Mar 31, 2:01 PM (3 d, 21 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7707542
Default Alt Text
D18792.diff (660 B)

Event Timeline