Skip to content

Commit

Permalink
proper cookie deltion
Browse files Browse the repository at this point in the history
  • Loading branch information
tamw-wnet committed Sep 30, 2024
1 parent 4c4e3f8 commit 72b17cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/js/jquery.pids.js
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,8 @@ jQuery(document).ready(function($) {

function logoutFromPBS(event) {
event.preventDefault();
Cookies.remove('pmsso_is_logged_in');
Cookies.remove('pbsoauth_mvhash');
Cookies.remove('pmsso_is_logged_in', {path: '/', domain: window.location.hostname, secure: true});
Cookies.remove('pbsoauth_mvhash', {path: '/', domain: window.location.hostname, secure: true});
$.ajax({
url: authenticate_script,
data: 'logout=true',
Expand Down

0 comments on commit 72b17cf

Please sign in to comment.