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