From: erickson Date: Mon, 20 Jul 2009 19:40:09 +0000 (+0000) Subject: specific cookie path not playing nicely when communicating with staff client cookies... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=f488fed45df509b589829c55fb234df45829261e;p=Evergreen.git specific cookie path not playing nicely when communicating with staff client cookies, in particular, change operator functionality. go back to global cookies git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@13635 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/js/ui/base.js b/Open-ILS/web/js/ui/base.js index d4061d2bf4..d9dfc83489 100644 --- a/Open-ILS/web/js/ui/base.js +++ b/Open-ILS/web/js/ui/base.js @@ -25,7 +25,7 @@ function oilsSetupUser() { }); return; } - dojo.cookie('ses', authtoken, {path : oilsBasePath}); + dojo.cookie('ses', authtoken, {path:'/'}); openils.User.authtoken = authtoken; openils.User.workstation = workstation; } @@ -42,7 +42,7 @@ function oilsDoLogin() { if(workstation) args.workstation = workstation; user.login(args); - dojo.cookie('ses', user.authtoken, {path : oilsBasePath}); + dojo.cookie('ses', user.authtoken, {path : '/'}); location.href = location.href; return false; }