Marius Burkard
2016-02-10 af01e42f2b0b17bacba3e78aeea12b7c235688f5
Exclude some characters from password generator (Closes #3429)
1 files modified
6 ■■■■ changed files
interface/web/js/scrigo.js.php 6 ●●●● patch | view | raw | blame | history
interface/web/js/scrigo.js.php
@@ -153,9 +153,9 @@
    var maxLength = minLength + 5;
    var length = getRandomInt(minLength, maxLength);
    
    var alphachars = "abcdefghijklmnopqrstuvwxyz";
    var upperchars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
    var numchars = "1234567890";
    var alphachars = "abcdefghijkmnopqrstuvwxyz";
    var upperchars = "ABCDEFGHJKLMNPQRSTUVWXYZ";
    var numchars = "23456789";
    var specialchars = "!@#_";
    
    if(num_special == undefined) num_special = 0;