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