Skip to content

Commit

Permalink
Merge pull request #4772 from Gustry/password
Browse files Browse the repository at this point in the history
Update Jelix file about password
  • Loading branch information
Gustry authored Sep 19, 2024
2 parents db59e73 + 0d4264b commit c2089a3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lizmap/www/assets/jelix/js/jforms/password-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ var JelixPasswordEditor = {
}

buttonRegen.addEventListener('click', function () {
inputEl.setAttribute('value', JelixPasswordEditor.generatePassword(minlength, Math.min(maxlength, 30)));
let password = JelixPasswordEditor.generatePassword(minlength, Math.min(maxlength, 30));
inputEl.setAttribute('value', password);
inputEl.value = password;
launchTimerListener();
});
buttonToggleVisibility.addEventListener('click', function () {
Expand Down

0 comments on commit c2089a3

Please sign in to comment.