diff --git a/src/index.html b/src/index.html index 016b3fc..23e5f26 100644 --- a/src/index.html +++ b/src/index.html @@ -370,7 +370,7 @@
- +
@@ -657,7 +657,7 @@ setToolsLoading(true); toolsOutput.textContent = 'Generating...'; try { - const len = document.getElementById('pw-length').value || 16; + const len = document.getElementById('pw-length').value || 20; const cs = document.getElementById('pw-charset').value || 'alphanumeric'; const noAmb = document.getElementById('pw-no-ambiguous').checked; let url = origin + '/password?length=' + len + '&charset=' + cs; diff --git a/src/tools.html b/src/tools.html index a6ef7f4..e2f32fa 100644 --- a/src/tools.html +++ b/src/tools.html @@ -134,7 +134,7 @@

Quantum Password

-
+
@@ -250,7 +250,7 @@ document.getElementById('btn-password').addEventListener('click', async () => { disableAll(true); outPw.className = 'output copyable loading'; outPw.textContent = 'Generating...'; try { - const len = document.getElementById('pw-length').value || 16; + const len = document.getElementById('pw-length').value || 20; const cs = document.getElementById('pw-charset').value || 'alphanumeric'; const noAmb = document.getElementById('pw-no-ambiguous').checked; let url = origin + '/password?length=' + len + '&charset=' + cs; diff --git a/src/tools/password.rs b/src/tools/password.rs index d65715e..b4a6a1d 100644 --- a/src/tools/password.rs +++ b/src/tools/password.rs @@ -3,7 +3,7 @@ //! Configurable length and character set (lowercase, uppercase, digits, symbols). /// Default password length. -pub const DEFAULT_LENGTH: usize = 16; +pub const DEFAULT_LENGTH: usize = 20; /// Max length per request. pub const MAX_LENGTH: usize = 128;