pH7Software / pH7-Social-Dating-CMS

😻 pH7Builder (formerly pH7CMS) is a Professional & Open Source Social Dating CMS written in PHP 8 🚀 This Social Dating Script aims to be low resource-intensive, powerful and secure. pH7Builder includes over 40 modules. It is the first Professional, Free & Open Source Social Dating Site Builder Software and the first choice for enterprise level Da
https://pH7Builder.com
MIT License
972 stars 579 forks source link

verification-code authentication does not functiong when website is in Maintenance Mode #1152

Open JLATORRE89 opened 9 months ago

JLATORRE89 commented 9 months ago

This is partially an oops on my end, I appeared to have enabled the MFA feature and did not consider my site being in maintenance mode. lol.

https://URL/verification-code/admin123 does not function correctly after the CMS is put into maintenance mode. The website does not prompt for a code in order to access the admin pages.

To Reproduce

Steps to reproduce the behavior:

  1. Go to Admins Login user settings
  2. Enable MFA
  3. Go to General Settings, enable maintenance mode and log out.
  4. No error is issues, but the page never redirects to the MFA

Expected Behavior

I expect to be prompted for a code to use my Google Authenticatior.

Screenshots / Screencasts

(if applicable, add screenshots or screencast the scenario to help explain your issue the best you can.)