• Ben

    (@benimator)


    Hello. When using the magic login via the standard wp-login.php I’ve noticed in the emailed URL it has &force_redirect=yes

    How do I change it to be force_redirect=no ?
    At the moment it logins and takes the user to the homepage. But I want them to be redirected to another page. It ignored my login redirects that I’ve already set up in FluentAuth. Signing via username and password works perfectly with the login redirects based on user role.

    • This topic was modified 2 years, 2 months ago by Ben.
Viewing 1 replies (of 1 total)
  • Thread Starter Ben

    (@benimator)

    I tried changing app/Hooks/Handlers/MagicLoginHandler.php

    Lines 273 & 401 from yes to no and that did change the URL in the email, but it still redirects to the homepage rather than the set login redirect URL.

Viewing 1 replies (of 1 total)
  • The topic ‘Disable force redirect with magic link wp-login.php’ is closed to new replies.