1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-03-31 14:38:15 +02:00

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
This commit is contained in:
epriestley 2016-05-19 15:10:35 -07:00
parent 6f6ca0102d
commit 0fad384727

View file

@ -227,7 +227,7 @@ final class PhabricatorAuthSSHKeyEditor
$body = parent::buildMailBody($object, $xactions); $body = parent::buildMailBody($object, $xactions);
$body->addLinkSection( $body->addTextSection(
pht('SECURITY WARNING'), pht('SECURITY WARNING'),
pht( pht(
'If you do not recognize this change, it may indicate your account '. 'If you do not recognize this change, it may indicate your account '.