2FA Protected Routes/Pages Like Password Confirm
CyberPunkCodes opened this issue · comments
CyberPunk commented
A lot of sites that I have used prompt for a 2FA code when doing special actions. This is exactly like the password.confirm
middleware, only for a 2FA code from their authenticator app instead.
Fortify could use a two-factor.confirm
middleware to go along with it's 2fa features out of the box.
Dries Vints commented
Heya, yes that sounds useful. Feel free to attempt a PR. If it doesn't makes it in you can always add it to your own app.