this post was submitted on 07 Sep 2026
176 points (98.9% liked)
Technology
87897 readers
4377 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related news or articles.
- Be excellent to each other!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
- Check for duplicates before posting, duplicates may be removed
- Accounts 7 days and younger will have their posts automatically removed.
Approved Bots
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Careful now. If you put the MFA prompt after the password, it works as confirmation that you have the correct password even if you're not able to log in. You don't want to give that confirmation to the attacker. That's why MFA happens before the password is validated.
That's how it works on > 90% of the websites on the internet. And that's usually not a problem, because one usually does not suddenly know the password of other people.
Just require the TOTP at the start of the form. It's that simple.
Just set a timer after entering the password in every single case (only stopped early by successful MFA). "authentication did not succeed, one or more factors may be incorrect or may have failed verification"