Prevented domain name and password leakage
This prevents a user from logging in with any password into a tab that was left open and being able to view the last domain name and generated password.
This commit is contained in:
parent
f238bb723d
commit
657e4c8a9d
@ -42,6 +42,8 @@ function update(active, working, error) {
|
|||||||
$('#userName').focus();
|
$('#userName').focus();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
$('#siteName').value = "";
|
||||||
|
$('#sitePassword').textContent = "";
|
||||||
$('#identity').removeClass('active');
|
$('#identity').removeClass('active');
|
||||||
$('#site').addClass('active');
|
$('#site').addClass('active');
|
||||||
$('#siteName').focus();
|
$('#siteName').focus();
|
||||||
|
Loading…
Reference in New Issue
Block a user