• Resolved alvinlan

    (@alvinlan)


    Hi there,

    (click on the link: select “Register Tree” –> Already have an account)

    I have a login form and show it on a popup on the page. I set a custom link for redirection on a certain condition through the login_redirect filter.

    It is always working fine previously but after the recent update, the redirection is not happening. It is stuck on that condition, no redirection, no message on successful login even the login is already successful. (When I tried to manually refresh the page after the stuck condition, I can see that I’m logged in)

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Jeff Farthing

    (@jfarthing84)

    Is the popup a new window or IFRAME?

    Thread Starter alvinlan

    (@alvinlan)

    No, it is not. It is just a hidden HTML element that become visible when triggered

    Plugin Author Jeff Farthing

    (@jfarthing84)

    Can you use your browsers javascript console and check for errors?

    Thread Starter alvinlan

    (@alvinlan)

    Hi Jeff,

    No errors at all in the browsers js console. Actually, that’s what makes me so confused.

    So, I’m not logged in. And after I fill the username and password field correctly, and then press login it looks like nothing happened. The view is still the same, no reload, no message, nothing. But when I refresh the page, I can notice that I’m already logged in. This means the login was successful but only no reload/redirection/response/message/etc.

    Plugin Author Jeff Farthing

    (@jfarthing84)

    Can you view the network console and see the response code the server is sending on successful login?

    HI,
    I have the exact same issue.
    How can I help to solve it?

    Thread Starter alvinlan

    (@alvinlan)

    Hi,

    I have figured out the issue, it is due to unexpected cookie error.

    I tried to rollback the plugin to the previous version, and I can see the warning messages appeared (on v7.1 it shows nothing just stuck on the page). With this, I have a clue to debug and track the error. When the warning has been handled properly, I update it again to v7.1 and works fine now.

    Thanks, Jeff!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Redirection after login doesn’t work’ is closed to new replies.