Moved password generation to the client #13

Merged
bookercodes merged 18 commits from master into master 2015-08-16 09:25:11 +00:00
2 changed files with 125 additions and 0 deletions
Showing only changes of commit b9f69e4d3a - Show all commits

View File

@ -80,6 +80,10 @@
};
function outputGeneratedPassword() {
var password = passwordGenerator.generatePassword(getOptions());
if (password === '') {
alert("Whops. You unselected all the options. I don't know what characters you want. Click on the button entitled \"Advanced Options\" and enable some options and thent try again. Nice one");
return;
}
$("#password-input").val(password);
}
$(function() {