Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
af01e42f
Commit
af01e42f
authored
Feb 10, 2016
by
Marius Burkard
Browse files
Exclude some characters from password generator (Closes
#3429
)
parent
447c8380
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/web/js/scrigo.js.php
View file @
af01e42f
...
...
@@ -153,9 +153,9 @@ function password(minLength, special, num_special){
var
maxLength =
minLength
+
5;
var
length =
getRandomInt(minLength,
maxLength
);
var
alphachars =
"abcdefghijk
l
mnopqrstuvwxyz"
;
var
upperchars =
"ABCDEFGH
I
JKLMN
O
PQRSTUVWXYZ"
;
var
numchars =
"
1
23456789
0
"
;
var
alphachars =
"abcdefghijkmnopqrstuvwxyz"
;
var
upperchars =
"ABCDEFGHJKLMNPQRSTUVWXYZ"
;
var
numchars =
"23456789"
;
var
specialchars =
"!@#_"
;
if(num_special =
=
undefined
)
num_special =
0;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment