stop password being clearly visible

This commit is contained in:
John McLear 2012-12-03 13:10:32 +00:00
parent 0b92fdfc62
commit b3e55f64a8
3 changed files with 3 additions and 2 deletions

View file

@ -202,6 +202,7 @@ function savePassword()
createCookie("password",$("#passwordinput").val(),null,document.location.pathname);
//reload
document.location=document.location;
return false;
}
function handshake()

View file

@ -54,7 +54,7 @@ function createCookie(name, value, days, path)
// This fixes an issue with IE not wanting to store cookies for Auth #1234. It's a temp fix because
// 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=" + "/";
// 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
if(navigator.appName=='Microsoft Internet Explorer'){