Skip to content

Commit 0fad384

Browse files
author
epriestley
committed
Fix minor section formatting mishap in SSH key email
Summary: Ref T10917. This is getting added as a link right now, which causes it to get `<a href>`'d in HTML mail. Add it as text instead. Test Plan: Edited a key, examined HTML mail body carefully. Reviewers: chad Reviewed By: chad Maniphest Tasks: T10917 Differential Revision: https://secure.phabricator.com/D15952
1 parent 6f6ca01 commit 0fad384

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/applications/auth/editor/PhabricatorAuthSSHKeyEditor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ protected function buildMailBody(
227227

228228
$body = parent::buildMailBody($object, $xactions);
229229

230-
$body->addLinkSection(
230+
$body->addTextSection(
231231
pht('SECURITY WARNING'),
232232
pht(
233233
'If you do not recognize this change, it may indicate your account '.

0 commit comments

Comments
 (0)