Skip to content

Commit

Permalink
fixed name length defect
Browse files Browse the repository at this point in the history
  • Loading branch information
vincenttrinh3336 committed May 1, 2024
1 parent 513db01 commit bd787a5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -637,6 +637,11 @@ <h2>List of valid Words</h2>


}
else if(username.length() > 10)
{
alert("Username is too long. Names have to be 10 or less characters");
sent_status = 0;
}
else
{
alert("Username already taken.");
Expand Down

0 comments on commit bd787a5

Please sign in to comment.