Skip to content

Commit

Permalink
Merge pull request opencart#13987 from saosangmo/patch-2
Browse files Browse the repository at this point in the history
Update permission.php
  • Loading branch information
danielkerr authored Jun 6, 2024
2 parents 04e0ea3 + c9d6348 commit 0de9a74
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions upload/admin/controller/error/permission.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ public function index(): void {
'href' => $this->url->link($this->request->get['route'], 'user_token=' . $this->session->data['user_token'])
];

$this->response->addheader($this->request->server['SERVER_PROTOCOL'] . ' 401 Unauthorized');

$data['header'] = $this->load->controller('common/header');
$data['column_left'] = $this->load->controller('common/column_left');
$data['footer'] = $this->load->controller('common/footer');
Expand Down

0 comments on commit 0de9a74

Please sign in to comment.