회원가입 시 닉네임 validation 조건

- 닉네임 빈 칸 제거
This commit is contained in:
Klaus 2024-01-24 15:53:38 +09:00
parent 71a3c357e7
commit 8f44d0b2cd
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ class SignUpValidator {
}
fun nicknameValidation(nickname: String): String {
if (nickname.length < 2) {
if (nickname.trim().length < 2) {
return "닉네임은 2자 이상 입력해 주세요."
}