bug #1828265 [privileges] No weird characters in generated password
This commit is contained in:
@@ -79,7 +79,10 @@ function checkAddUser(the_form)
|
||||
* @return boolean always true
|
||||
*/
|
||||
function suggestPassword() {
|
||||
var pwchars = "abcdefhjmnpqrstuvwxyz23456789ABCDEFGHJKLMNPQRSTUVWYXZ.,:";
|
||||
// restrict the password to just letters and numbers to avoid problems:
|
||||
// "editors and viewers regard the password as multiple words and
|
||||
// things like double click no longer work"
|
||||
var pwchars = "abcdefhjmnpqrstuvwxyz23456789ABCDEFGHJKLMNPQRSTUVWYXZ";
|
||||
var passwordlength = 16; // do we want that to be dynamic? no, keep it simple :)
|
||||
var passwd = document.getElementById('generated_pw');
|
||||
passwd.value = '';
|
||||
|
Reference in New Issue
Block a user