Custom Login Page URL Doesn’t work with latest update
-
Hello,
I first reported an issue with a custom page working with this plugin.
https://www.ads-software.com/support/topic/two-factor-authentication-for-custom-login-page/
Since no one responded with any fix for this issue, I had to work with my developer to create a new custom page that will work with your plugin. After the most recent update, version 1.2.9 , 2FA no longer works with a custom url.
Here is the exact wording from my developer.
“There is a bug in their code. When 2FA page loads it should detect as a wp_login page but due to some bug in their code it’s not detected as a wp_login page and does not show the 2FA page.
Please note that their code is not working when we have a custom login page URL, if we use the default login page /wp_login.php their code will work correctly.”
“setcookie()” function will update the cookie in Global variable when the page gets reloaded, but in the code, it seems we need to update the Global Variable $_COOKIE instantly to work the code that is depending on $_COOKIE global variable
2FA is not working when we have custom URL for login page(ex: /login-page/)
The page I need help with: [log in to see the link]
- The topic ‘Custom Login Page URL Doesn’t work with latest update’ is closed to new replies.