Commit af01e42f authored by Marius Burkard's avatar Marius Burkard
Browse files

Exclude some characters from password generator (Closes #3429)

parent 447c8380
......@@ -153,9 +153,9 @@ function password(minLength, special, num_special){
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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment