mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Updated password generator function from scrutinizer report
This commit is contained in:
@@ -3,8 +3,8 @@ $.extend({
|
||||
var iteration = 0;
|
||||
var password = "";
|
||||
var randomNumber;
|
||||
if(special == undefined){
|
||||
var special = false;
|
||||
if(special === undefined){
|
||||
special = false;
|
||||
}
|
||||
while(iteration < length){
|
||||
randomNumber = (Math.floor((Math.random() * 100)) % 94) + 33;
|
||||
|
Reference in New Issue
Block a user