Password field has wrong input type
❌ Before (broken):
<input type=”text” name=”password” placeholder=”Password” required>
What’s wrong: The password input type is set to “text”, which means the password is visible on screen as the user types it. This is a serious security and usability problem.
✅ After (fixed):
<!– type=”password” hides the text as the user types, showing dots instead –>
<input type=”password” name=”password” placeholder=”Password” required>
Why it’s fixed: Changing the type to “password” makes the browser automatically hide what the user is typing, which is the expected and correct behavior for any password field.