mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 02:28:03 -07:00
fixed password generator
This commit is contained in:
parent
52bde02d10
commit
d3c0d8cba3
1 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@
|
|||
</tr>
|
||||
</table>
|
||||
|
||||
<form id="vstobjects" name="v-add-user" method="post">
|
||||
<form id="vstobjects" name="v_add_user" method="post">
|
||||
<script type="text/javascript">
|
||||
function randomString() {
|
||||
var chars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz";
|
||||
|
@ -37,7 +37,7 @@
|
|||
var rnum = Math.floor(Math.random() * chars.length);
|
||||
randomstring += chars.substring(rnum,rnum+1);
|
||||
}
|
||||
document.v-add-user.v_password.value = randomstring;
|
||||
document.v_add_user.v_password.value = randomstring;
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue