src/Security/Security.php
public static function logout_url()
    {
        $logoutUrl = Controller::join_links(Director::baseURL(), self::config()->get('logout_url'));
        return SecurityToken::inst()->addToUrl($logoutUrl);
    }
public static function logout_url()
    {
        $logoutUrl = Controller::join_links(Director::baseURL(), self::config()->get('logout_url'));
        return SecurityToken::inst()->addToUrl($logoutUrl);
    }
public static function logout_url ( ) { $ logoutUrl = Controller :: join_links ( Director :: baseURL ( ) , self :: config ( ) -> get ( 'logout_url' ) ) ; return SecurityToken :: inst ( ) -> addToUrl ( $ logoutUrl ) ; }
Get the URL of the logout page.

To update the logout url use the "Security.logout_url" config setting.

@return string
Get the URL of the logout page .