diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2021-04-30 10:15:25 +0300 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2021-04-30 10:15:25 +0300 |
commit | c86e82354cdafa9aaa785455505a2e8b0ce5fc73 (patch) | |
tree | 0135ef69eda1d871e940b1ad42d2166d9c1d8c9c /user/logout.php | |
parent | Reports can be bound to bugs (diff) | |
download | bugtracker-c86e82354cdafa9aaa785455505a2e8b0ce5fc73.tar.xz |
Check can_edit_reports and can_edit_bugs flags
Diffstat (limited to 'user/logout.php')
-rw-r--r-- | user/logout.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/user/logout.php b/user/logout.php index 26bbfa0..319a43a 100644 --- a/user/logout.php +++ b/user/logout.php @@ -5,6 +5,8 @@ require_once(TEMPLATES_PATH . "/header.php"); session_start(); unset($_SESSION['user_name']); unset($_SESSION['user_id']); +unset($_SESSION['user_can_edit_bugs']); +unset($_SESSION['user_can_edit_reports']); echo 'Session cleared'; header("Refresh: 2; URL=$_SERVER[HTTP_REFERER]"); |