diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2011-04-06 18:43:35 +1000 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2011-04-06 18:43:35 +1000 |
| commit | 5c5385caf63582bbbd2fce5773e0464929a45800 (patch) | |
| tree | aa089bc7b87f9ef1788a11ea1feefcc59f67fe40 | |
| parent | 6267a23947352e42da91f77c03b9eaabaaed837e (diff) | |
...
| -rw-r--r-- | templates/main.js | 2 |
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);
|
