Login redirects based on referer
-
Hello.
I have set up Google Authenticator on my site and this plugin makes sense for me to use because not all of my users use authenticator. I do not want them all to see the authentication code box if they don’t have it enabled.
The problem is, I need to use a plugin that redirects the user to the referring page upon a successful login. I have been using the code from this plugin (the plugin itself is a little old and I have modified a few things. I could always use the stock version of the plugin. That has the same problem)
https://www.ads-software.com/plugins/sky-login-redirect/ to create the behavior that I want. The problem is, when I log into a user with Authentication enabled I get stuck in a loop that redirects me back to wp-login.php no matter where my referrer is when I login.How can I make Google Authenticator Per User work with a login redirect based on the referrer of the user?
https://www.ads-software.com/plugins/google-authenticator-per-user-prompt/
- The topic ‘Login redirects based on referer’ is closed to new replies.