Skip to content

Commit

Permalink
Add Clear-Site-Data header on logout (CO-2720) (#322)
Browse files Browse the repository at this point in the history
  • Loading branch information
arlen authored Jul 2, 2025
1 parent 6a203cb commit 4fd0b09
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/webroot/auth/logout/logout.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,5 @@
$subst = '$1$2';
$path = preg_replace($re, $subst, urldecode($_SERVER['REQUEST_URI']), 1);

header('Clear-Site-Data: "cookies"');
header("Location: " . $path);

0 comments on commit 4fd0b09

Please sign in to comment.