password generator for new user accounts
Opened this issue · 0 comments
Gallenkamp commented
generate + show plain on demand
something like this:
http://stackoverflow.com/questions/1497481/javascript-password-generator
function generatePassword() {
var length = 8,
charset = "abcdefghijklnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",
retVal = "";
for (var i = 0, n = charset.length; i < length; ++i) {
retVal += charset.charAt(Math.floor(Math.random() * n));
}
return retVal;
}