Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F4316569
D26028.1748094696.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
940 B
Referenced Files
None
Subscribers
None
D26028.1748094696.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,9 +245,18 @@
$menu->addItem($item);
}
+ $second_factor_text = null;
+ if ($viewer->getIsEnrolledInMultiFactor()) {
+ $second_factor_text = pht(
+ 'Note: You already have an Auth Factor configured. Adding a '.
+ 'second factor will require you to always provide both Auth '.
+ 'Factors instead of selecting one of your Auth Factors.');
+ }
+
return $this->newDialog()
->setTitle(pht('Choose Factor Type'))
->appendChild($menu)
+ ->appendParagraph($second_factor_text)
->addCancelButton($cancel_uri);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, May 24, 13:51 (15 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1644338
Default Alt Text
D26028.1748094696.diff (940 B)
Attached To
Mode
D26028: Explain consequences when adding second Multi-Factor Auth
Attached
Detach File
Event Timeline
Log In to Comment