Add rules language support and improve password validation across the app
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
async function submit(e) {
|
||||
e.preventDefault();
|
||||
err.style.display = "none";
|
||||
if (pw1.value.length < 6) {
|
||||
if (pw1.value.length < 8) {
|
||||
err.textContent = t("password_too_short");
|
||||
err.style.display = "block";
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user