Skip to content

Commit

Permalink
Update Jelix file modified when building LWC
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustry committed Nov 14, 2024
1 parent bc3ce8d commit 90a8420
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lizmap/www/assets/jelix/js/jforms/password-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ var JelixPasswordEditor = {

generatePassword: function(minLength, maxLength) {
const length = Math.floor((Math.random() * (maxLength - minLength)) + minLength);
const charset = "abcdefghijklmn!=()-_opqrstuvwxyz%#[]{}ABCDEFGHIJKLMNO\$*%?;PQRSTUVWXYZ0123456789:, <>";
const charset = "abcdefghijklmnopqrstuvwxyz!=()-_abcdefghijklmnopqrstuvwxyz%#[]{}ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789\$*%?;ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789:, <>";
let retVal = "";
for (let i = 0, n = charset.length; i < length; ++i) {
retVal += charset.charAt(Math.floor(Math.random() * n));
Expand Down

0 comments on commit 90a8420

Please sign in to comment.