Support » Fixing WordPress » How to auto login a user

Viewing 3 replies - 1 through 3 (of 3 total)
  • Note:

    When I first login to a site in my Multisitre network, the following cookies get set:

    And I am taking to my Admin panel.

    Yet when I switch to another site in the network, I only get the following cookie and the WP login form appears and I cannot get past it.

    I do not get the other 4 cookies.

    I am wondering if it has anything to do with the cookie attribute isHttpOnly?

    I can see that the cookie gets set on wp_set_auth_cookie(); do_action(); with attribute isHttpOnly = “true”, yet once the wp_redirect(); is executed (which is essentially back to itself) the cookie is destroyed.

    BTW, my script was working fine until I upgrade yesterday to WP v4.7.

    Any wordpress gurus out there?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to auto login a user’ is closed to new replies.