• I have a custom logout page.

    It works fine as long as I do not add it as the default logout page in the Settings. As soon as I do, and click on the link from anywhere or from the Profile Logout menu item, I am immediately logged out and the session is cleared. it never brings up the page asking for confirmation to log out.

    Ultimate Member is doing some kind of redirect and intercepting the URL call to the page and forces the Logout without ever calling the page. I have traced it with die() commands and the Page is never called as long as the Page is set to the Logout Page under settings.

    How do I clear this? thanks

    MOKANA

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

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

    (@ultimatemembersupport)

    Hi @mokana,

    You are right, opening logout page will instantly log out users from your site.
    Can you please clarify what you are trying to achieve?

    Regards.

    Thread Starter mokana

    (@mokana)

    It makes no sense to build a page in which is never seen. I do not understand this logic. Why assign a page to a link that does nothing more than force an instant logoff?

    The intent here is that a user is taken to the page, where the user then confirms they want to logoff. Like does Facebook and every other widely used platform.

    I have a link set up that takes the user to a page, there they confirm, then they are logged off. I do not link this page to UM. I then call the log off routines myself and clear sessions cookies and such.

    I built a dummy Logoff page and linked it to UM in the Profile Menu where a user can also logoff. My thoughts are that few people will go to their profile page and will mostly use the visible link I provide at the top of every page. This is a workaround I came up with. If UM ever hooks it in the way I think they should, my Page will be called without modification. Right now UM does not even call the log off page. It never gets to the page. Is never resolved within WordPress core. If UM fixes this, it will call the dummy page which I have already handled with a redirect.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Logout forces instant logout never calling Page’ is closed to new replies.