We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc25f3c commit 0b0cae4Copy full SHA for 0b0cae4
src/Templates/User/Update.phtml
@@ -113,7 +113,7 @@ switch ($this->getContext()->website_error[1] ?? null)
113
$avatar = ($this->getContext()->user ? $this->getContext()->user->getAvatarURI(512) : null);
114
require('./Includes/header.inc.phtml'); ?>
115
<div class="container">
116
-<? if ($this->getContext()->_responseCode == 401) { ?>
+<? if ($this->getContext()->_responseCode == \BNETDocs\Libraries\Core\HttpCode::HTTP_FORBIDDEN) { ?>
117
<h1 class="text-danger"><?=$title?></h1>
118
<div class="alert alert-danger">
119
<p class="mb-0">You are not authorized to access this page.</p>
0 commit comments