stop password being clearly visible
parent
0b92fdfc62
commit
b3e55f64a8
|
@ -202,6 +202,7 @@ function savePassword()
|
|||
createCookie("password",$("#passwordinput").val(),null,document.location.pathname);
|
||||
//reload
|
||||
document.location=document.location;
|
||||
return false;
|
||||
}
|
||||
|
||||
function handshake()
|
||||
|
|
|
@ -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'){
|
||||
|
|
|
@ -186,7 +186,7 @@
|
|||
<div id="editorloadingbox">
|
||||
<div id="passwordRequired">
|
||||
<p data-l10n-id="pad.passwordRequired">You need a password to access this pad</p>
|
||||
<form class='passForm'>
|
||||
<form class='passForm' method='POST'>
|
||||
<input id='passwordinput' type='password' name='password'><input type='submit' value='Submit'>
|
||||
</form>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue