Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15389444
D16444.id39549.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D16444.id39549.diff
View Options
diff --git a/src/applications/settings/panel/PhabricatorEmailAddressesSettingsPanel.php b/src/applications/settings/panel/PhabricatorEmailAddressesSettingsPanel.php
--- a/src/applications/settings/panel/PhabricatorEmailAddressesSettingsPanel.php
+++ b/src/applications/settings/panel/PhabricatorEmailAddressesSettingsPanel.php
@@ -165,6 +165,11 @@
$user = $this->getUser();
$viewer = $this->getViewer();
+ $token = id(new PhabricatorAuthSessionEngine())->requireHighSecuritySession(
+ $viewer,
+ $request,
+ $this->getPanelURI());
+
$e_email = true;
$email = null;
$errors = array();
@@ -276,6 +281,11 @@
$user = $this->getUser();
$viewer = $this->getViewer();
+ $token = id(new PhabricatorAuthSessionEngine())->requireHighSecuritySession(
+ $viewer,
+ $request,
+ $this->getPanelURI());
+
// NOTE: You can only delete your own email addresses, and you can not
// delete your primary address.
$email = id(new PhabricatorUserEmail())->loadOneWhere(
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 16, 5:15 AM (2 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7704075
Default Alt Text
D16444.id39549.diff (1 KB)
Attached To
Mode
D16444: Added high security requirement to add/delete email addresses
Attached
Detach File
Event Timeline
Log In to Comment