by tvelichkov · 10y ago · 0 comments
I feel like I've seen more of the former than the latter.
Before generating the PW reset link, someone might try to login first. So they'd enter bob@example.com into the login form and then when that failed, it's not uncommon to redirect with error-msg-in-session to /login?email=bob@example.com . So you'd leak the email first.