Make HTTP/403 say "Yikes!"
Summary: This text is significantly more clear and helpful for users. Test Plan: Tried to do something I'm not suppposed to, hit the 403 page. Differential Revision: https://secure.phabricator.com/D20847
This commit is contained in:
@@ -28,7 +28,7 @@ final class Aphront403Response extends AphrontHTMLResponse {
|
|||||||
$dialog = id(new AphrontDialogView())
|
$dialog = id(new AphrontDialogView())
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->setTitle(pht('403 Forbidden'))
|
->setTitle(pht('403 Forbidden'))
|
||||||
->addCancelButton('/', pht('Peace Out'))
|
->addCancelButton('/', pht('Yikes!'))
|
||||||
->appendParagraph($forbidden_text);
|
->appendParagraph($forbidden_text);
|
||||||
|
|
||||||
$view = id(new PhabricatorStandardPageView())
|
$view = id(new PhabricatorStandardPageView())
|
||||||
|
|||||||
Reference in New Issue
Block a user