WordPress.org

Ready to get started?Download WordPress

Forums

HTTP Authentication
[resolved] WordPress Failure notice on logout (8 posts)

  1. hallcp
    Member
    Posted 1 year ago #

    When I attempt to logout after I get the "Do you really want to logout" screen and click Log Out, I get a "WordPress failure Notice" message in the page title but the page itself remains unchanged.

    What's going on? I can suppress the login/logout links, but that involves adding a plugin and configuring it for all the sites on our network.

    I am tempted to hack the HTTP plugin to simply redirect back to the website instead of calling wp_logout(). But I'd rather understand what's going on and fix it.

    Thanks.

    http://wordpress.org/extend/plugins/http-authentication/

  2. Daniel Westermann-Clark
    Member
    Plugin Author

    Posted 1 year ago #

    By default the plugin sends users to wp_logout_url() when they click logout.

    Have you configured a logout URL? You can set this to the root of the site, for example.

  3. hallcp
    Member
    Posted 1 year ago #

    But where would I set this "logout URL"? Do I have to edit core WP files or the plugin itself?

  4. hallcp
    Member
    Posted 1 year ago #

    OK, I found the settings! In a network install the options only show up in the individual blog admin screens, not the network screen.

    But it looks like we will have to set the logout URI to %site% by hand each time we install a new blog.

    Is there a better way?

    Thanks!

  5. WillyWonder
    Member
    Posted 1 year ago #

    Love the plugin, works great for my use. I have the same situation on logout. but I can't figure out how to "set the logout URI to %site%" as hallcp has. Thanks for your consideration.

  6. WillyWonder
    Member
    Posted 1 year ago #

    Found the setting in Dashboard/Settings/HTTP Authentication.
    Thanks again for the plugin, works great.

  7. Daniel Westermann-Clark
    Member
    Plugin Author

    Posted 1 year ago #

    Adding network-wide settings is on the list! I'd greatly appreciate a patch since I probably won't get to it for a while.

  8. Daniel Westermann-Clark
    Member
    Plugin Author

    Posted 1 year ago #

    By the way, this feature request is being discussed here:

    http://wordpress.org/support/topic/feature-request-network-setup

    Resolving this topic.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic