aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/terms.php
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2024-10-18 08:28:24 +0000
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2024-10-18 08:28:24 +0000
commit31b270404561a11608a39bf1277f3854ea670033 (patch)
treedcee3ad388cb96ddb687abaa731cc1408a2375d2 /app/controllers/terms.php
parent48db94cc8e8674110220eaafe2cbe0e75c62ae11 (diff)
post logout, re #4692
Merge request studip/studip!3507
Diffstat (limited to 'app/controllers/terms.php')
-rw-r--r--app/controllers/terms.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/terms.php b/app/controllers/terms.php
index ef59395..679a347 100644
--- a/app/controllers/terms.php
+++ b/app/controllers/terms.php
@@ -32,6 +32,7 @@ class TermsController extends AuthenticatedController
$GLOBALS['user']->cfg->store('TERMS_ACCEPTED', 1);
$this->redirectUser();
} else {
+ $_SESSION['logout_ticket'] = get_ticket();
$this->redirectUser('logout.php');
}
} elseif (Request::get('action') === 'denied') {