Multi-Factor Auth with OTP
Brings back multi-factor auth with OTP.
- Enable via a new button on /auth/edit page
- Will redirect you to /auth/mfa where you can configure MFA with OTP
- Disable the same way
- Login Page component now dynamically displays either Login form or OTP form
- Home about page has a modal for OTP that is rendered when mfa_required returns on the login form
- Attempt at some basic tests: OTP auth form has a snapshot test, left failed test commented out on login page because the stub logic I created there is working, it's just not useful in that particular test. I need to figure out how to get enzyme shallow to work to finish that test... but it's not working for me. Don't know why. I might continue working on this...
Edited by Mary Kate