3 ms·
If they do have multiple email addresses associated with one account, and they don't want to send a password reset to all of them, then you can see how it would
by jazzabeanie 7y ago
If they do have multiple email addresses associated with one account, and they don't want to send a password reset to all of them, then you can see how it would happen.
```
if evil_email not in good_email_addresses:
# Hackers!
else:
# just reset with provided email. If I thought there was a potential security issue I would have already addressed it.
```
So easy to be lazy at this point, especially under time pressure.
- eyegor 7y agoOff topic, you need the triple backticks on their own lines for them to render here.
- codetrotter 7y agoSorry but that is not correct either. Code blocks on HN are created by using two or more leading spaces on each line. Tripple backticks do nothing, and will be shown on the same line as the next line even if put on a separate line, because they are considered as regular text and part of one paragraph of text. See https://news.ycombinator.com/formatdoc https://news.ycombinator.com/formatdoc