mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-01-19 01:24:05 +01:00
...
This commit is contained in:
parent
61bc31f521
commit
8f9a6b839f
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user