fix IE auth but only a temp fix
parent
d09894ce77
commit
0b92fdfc62
|
@ -52,8 +52,9 @@ function createCookie(name, value, days, path)
|
||||||
if(!path)
|
if(!path)
|
||||||
path = "/";
|
path = "/";
|
||||||
|
|
||||||
if(!path)
|
// This fixes an issue with IE not wanting to store cookies for Auth #1234. It's a temp fix because
|
||||||
path = "/";
|
// Really we should be storing the cookie on teh document.location path and not modifying the fsking URL to contain a password!
|
||||||
|
document.cookie = name + "=" + value + expires + "; path=" + "/";
|
||||||
|
|
||||||
//Check if the browser is IE and if so make sure the full path is set in the cookie
|
//Check if the browser is IE and if so make sure the full path is set in the cookie
|
||||||
if(navigator.appName=='Microsoft Internet Explorer'){
|
if(navigator.appName=='Microsoft Internet Explorer'){
|
||||||
|
|
Loading…
Reference in New Issue