mirror of
https://github.com/S2-/pwgen.git
synced 2025-08-02 17:00:03 +02:00
do not repeat numbers
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
function randPassword(length, includeSpecial) {
|
||||
let pwdChars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890";
|
||||
let pwdChars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
|
||||
if (includeSpecial) {
|
||||
pwdChars += '°^!"§$%&/()=?`´\\}][{²³€|<>-.,;:*+_µ@~';
|
||||
}
|
||||
|
Reference in New Issue
Block a user