mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 22:10:55 +01:00
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:
parent
f004b76465
commit
9944b669ad
1 changed files with 1 additions and 1 deletions
|
@ -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())
|
||||||
|
|
Loading…
Reference in a new issue