Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F4315215
D26028.1748080221.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
1000 B
Referenced Files
None
Subscribers
None
D26028.1748080221.diff
View Options
diff --git a/src/applications/settings/panel/PhabricatorMultiFactorSettingsPanel.php b/src/applications/settings/panel/PhabricatorMultiFactorSettingsPanel.php
--- a/src/applications/settings/panel/PhabricatorMultiFactorSettingsPanel.php
+++ b/src/applications/settings/panel/PhabricatorMultiFactorSettingsPanel.php
@@ -245,10 +245,18 @@
$menu->addItem($item);
}
- return $this->newDialog()
+ $dialog = $this->newDialog()
->setTitle(pht('Choose Factor Type'))
->appendChild($menu)
->addCancelButton($cancel_uri);
+
+ if ($viewer->getIsEnrolledInMultiFactor()) {
+ $dialog->appendParagraph(pht(
+ 'Note: You already have an Auth Factor configured. Adding '.
+ 'another factor will require you to always provide all Auth '.
+ 'Factors instead of selecting one of your Auth Factors.'));
+ }
+ return $dialog;
}
// NOTE: Beyond providing guidance, this step is also providing a CSRF gate
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, May 24, 09:50 (17 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1639984
Default Alt Text
D26028.1748080221.diff (1000 B)
Attached To
Mode
D26028: Explain consequences when adding second Multi-Factor Auth
Attached
Detach File
Event Timeline
Log In to Comment