← Quiz: Authentication, Sessions and JWT: all 10 questions
Quiz: Authentication, Sessions and JWT · Question 10 of 10
Which login error message is better for security?
Which login error message is better for security?
- A."No account exists with this email"
- B."Your password is wrong by one character"
- C."Invalid email or password"
- D."This account belongs to Asha"
Answer & explanation
Correct answer: "Invalid email or password"
A general message does not tell attackers which emails are registered.
Can you get the rest right without peeking?
Take the timed Quiz: Authentication, Sessions and JWT quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →