Skip to content
Snippets Groups Projects
Commit 0ecbf926 authored by Guillaume ROUSSE's avatar Guillaume ROUSSE
Browse files

fix random chars array length

parent d3e86dbf
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,7 @@ sub generate_password {
'{, }', '[', ']',
'.', '=', '-', '#'
);
foreach (6 .. $length_of_randomstring) {
foreach (5 .. $length_of_randomstring) {
# rand @chars will generate a random
# number between 0 and scalar @chars
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment