• Resolved ncapehorn

    (@ncapehorn)


    Hi there.

    Is there a way to add a parameter to the login so that the user gets taken to their preferred destination on login?

    For context, we have two buttons – Events and Forum – that when non-logged in users click, takes you to the login page. Currently logging in then takes you to one destination, but the client would like it to take them to whichever of those two pages they were trying to get to prior to being taken to the login page.

    Is that doable?

    Cheers,
    Nick.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support yuriinalivaiko

    (@yuriinalivaiko)

    Hi, @ncapehorn

    This is an existing feature. The plugin redirects non-logged in users to the login page with the additional parameter redirect_to that contains the URL of the page if they try to access restricted pages. After the successful login the plugin redirects users to their page they need.

    The parameter redirect_to has a higher priority than the user role setting “Action to be taken after login”. This logic is described in documentation.

    Regards

    Plugin Support yuriinalivaiko

    (@yuriinalivaiko)

    This thread has been inactive for a while so we’re going to go ahead and mark it Resolved.

    Please feel free to re-open this thread if any other questions come up and we’d be happy to help. ??

    Regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Redirect on login’ is closed to new replies.