Skip to content

Commit cf6f314

Browse files
authored
Merge pull request #38 from Darshan98Solanki/bug/password-invalid-issue
Bug/change the password error properly
2 parents 3152432 + 2cdd503 commit cf6f314

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/register/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ const RegisterPage = () => {
3636
}
3737

3838
if (!password || password.length < 8) {
39-
setError("Password is invalid");
40-
toast.error("Password is invalid");
39+
setError("Password must be 8 characters long");
40+
toast.error("Password must be 8 characters long");
4141
return;
4242
}
4343

0 commit comments

Comments
 (0)