Skip to content

Commit af01e42

Browse files
author
Marius Burkard
committed
Exclude some characters from password generator (Closes #3429)
1 parent 447c838 commit af01e42

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

interface/web/js/scrigo.js.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,9 @@ function password(minLength, special, num_special){
153153
var maxLength = minLength + 5;
154154
var length = getRandomInt(minLength, maxLength);
155155

156-
var alphachars = "abcdefghijklmnopqrstuvwxyz";
157-
var upperchars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
158-
var numchars = "1234567890";
156+
var alphachars = "abcdefghijkmnopqrstuvwxyz";
157+
var upperchars = "ABCDEFGHJKLMNPQRSTUVWXYZ";
158+
var numchars = "23456789";
159159
var specialchars = "!@#_";
160160

161161
if(num_special == undefined) num_special = 0;

0 commit comments

Comments
 (0)