adamuremek / mentorship-program

SVSU 2024 CS471 (Software Engineering II) Capstone Project
7 stars 0 forks source link

Mentor MFA #243

Closed goupil-justin closed 6 months ago

goupil-justin commented 7 months ago

Just pushed a MFA system using pyotp for non-students, it should be live in a few minutes. The admin@admin.admin account will need to be updated to a real email address that we all have access too.

You will need to run pip install -r requirements.txt.

Process:

Sign in as a mentor: image Convenient white-space bug.

Redirected to a new webpage: image

Prevents you from entering non-numeric input and the pass-code expires after 5 minutes: image

Clicking resend email walkthorugh

Enter the pass-code and you are sent to the landing page: image

Pass-code expiration can be change under PASSCODE_EXPIRATION_MINUTES in mentorship_program_project\mentorship_program_project\settings.py

sajohn10 commented 7 months ago

It looks like this is currently blocking us from accessing the admin account since it isn't tied to a real email, is there a way to work around this?

sajohn10 commented 7 months ago

Doesn't have to be right this second just wondering

goupil-justin commented 7 months ago

None that I am aware of, since I already patched one way. The admin@admin.admin account will need to be updated to a real email address.

I can create a temporary work around and just bypass the system for testing purposes.

Edit: Just prepared a temp solution that is ready to go the moment you give the word. EditEdit: Ping me on discord, I'm online.