summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2011-04-06 18:43:35 +1000
committerSavetheinternet <savetheinternet@n0v4.com>2011-04-06 18:43:35 +1000
commit5c5385caf63582bbbd2fce5773e0464929a45800 (patch)
treeaa089bc7b87f9ef1788a11ea1feefcc59f67fe40 /templates
parent6267a23947352e42da91f77c03b9eaabaaed837e (diff)
...
Diffstat (limited to 'templates')
-rw-r--r--templates/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/main.js b/templates/main.js
index 296e5c07..5e489166 100644
--- a/templates/main.js
+++ b/templates/main.js
@@ -29,7 +29,7 @@ function focusId(id)
function generatePassword() {
pass = '';
- chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*()_+';
+ chars = '{config[genpassword_chars]}';
for(i=0;i<8;i++) {
rnd = Math.floor(Math.random() * chars.length);
pass += chars.substring(rnd,rnd + 1);