Sha256: 8e32cdf62815312830446e120a1b299b8f9bada8fac445d7b8f19d557a0eedb7
Contents?: true
Size: 547 Bytes
Versions: 93
Compression:
Stored size: 547 Bytes
Contents
//////////////////// //Store password with session storage //////////////////// function storePassword() { //Dont store password if cookie authentication is enable if (authByCookie()) { return } if (window.sessionStorage) { if (($("#user_password").length==1)&&($("#user_password").val()!="")){ sessionStorage.setItem("ss_user_pass", $('#user_password').val()); } else if (($("#password").length==1)&&($("#password").val()!="")){ sessionStorage.setItem("ss_user_pass", $('#password').val()); } } }
Version data entries
93 entries across 93 versions & 3 rubygems