Fix: setting - change player enter code (complete)

This commit is contained in:
2019-03-16 21:35:01 +09:00
parent 0cbf30481b
commit a03eb243e1
2 changed files with 25 additions and 96 deletions
-2
View File
@@ -40,7 +40,6 @@ AccountValidator.prototype.isValidMaestroPW = function(textPW) {
}
AccountValidator.prototype.messageForInvalidMaestroPW = function(textPW) {
console.log(textPW);
if(textPW.length < AccountValidator.MAESTRO_PW_LENGTH_MINIMUM)
return "마에스트로의 암호는 " + AccountValidator.MAESTRO_PW_LENGTH_MINIMUM + "글자 이상이어야 합니다.";
else if(textPW.length > AccountValidator.MAESTRO_PW_LENGTH_MAXIMUM)
@@ -81,7 +80,6 @@ AccountValidator.prototype.isValidPlayerPW = function(textPW) {
}
AccountValidator.prototype.messageForInvalidPlayerPW = function(textPW) {
console.log(textPW);
if(typeof textPW == "undefined" || textPW == null || textPW == "")
return "학생 입장 번호를 입력해 주세요.";
else if(textPW.length < Number(AccountValidator.PLAYER_PW_LENGTH_MINIMUM))