비밀번호 길이 검증 제거 - 로그인 스크립트 단순화
This commit is contained in:
@@ -232,14 +232,9 @@
|
|||||||
$('#loginLoading').removeClass('active');
|
$('#loginLoading').removeClass('active');
|
||||||
customPopups.showAlert('입력 정보 확인');
|
customPopups.showAlert('입력 정보 확인');
|
||||||
} else {
|
} else {
|
||||||
if (form.password.value.length < 8) {
|
refreshCsrfAndThen(form, function () {
|
||||||
$('#loginLoading').removeClass('active');
|
form.submit();
|
||||||
customPopups.showAlert('[[#{login.passLengthShort}]]');
|
});
|
||||||
} else {
|
|
||||||
refreshCsrfAndThen(form, function () {
|
|
||||||
form.submit();
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
form.classList.add('was-validated');
|
form.classList.add('was-validated');
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user