Skip to content

Commit 701b173

Browse files
authored
🚩 No special characters in ProfileEdit (#121)
### πŸ“ μž‘μ—… λ‚΄μš© - ν”„λ‘œν•„ μˆ˜μ • νŽ˜μ΄μ§€μ— 남아 있던 λΉ„λ°€λ²ˆν˜Έ 특수문자 μš”κ±΄μ„ μ‚­μ œν•˜μ˜€μŠ΅λ‹ˆλ‹€. ### πŸ“Έ μŠ€ν¬λ¦°μƒ· μ—†μŒ ### πŸš€ 리뷰 μš”κ΅¬μ‚¬ν•­ μ—†μŒ
1 parent 24e9456 commit 701b173

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

β€Žsrc/routes/ProfileEdit.tsxβ€Ž

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,9 @@ export default function SignUp() {
6464
password: {
6565
isLongEnough: password.length >= 8,
6666
hasNumber: /[0-9]/.test(password),
67-
hasSpecial: /[!@#$%^&*()]/.test(password),
6867
isValid:
6968
password.length === 0 ||
70-
(password.length >= 8 &&
71-
/[0-9]/.test(password) &&
72-
/[!@#$%^&*()]/.test(password)),
69+
(password.length >= 8 && /[0-9]/.test(password)),
7370
},
7471
isPasswordMatch: password === confirmPassword,
7572
};
@@ -204,11 +201,6 @@ export default function SignUp() {
204201
>
205202
{validations.password.hasNumber ? 'βœ“' : 'β—‹'} 숫자 포함
206203
</li>
207-
<li
208-
className={`text-xs flex items-center ${validations.password.hasSpecial ? 'text-green-600' : 'text-gray-400'}`}
209-
>
210-
{validations.password.hasSpecial ? 'βœ“' : 'β—‹'} 특수문자 포함
211-
</li>
212204
</ul>
213205
)}
214206
</div>

0 commit comments

Comments
Β (0)