diff --git a/upload/admin/controller/error/permission.php b/upload/admin/controller/error/permission.php index 380fe8a07c4..aded32d82b7 100644 --- a/upload/admin/controller/error/permission.php +++ b/upload/admin/controller/error/permission.php @@ -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');