@classmethod
    def menu_register(cls, **attr):

        if current.auth.is_logged_in():
            return None

        #self_registration = current.deployment_settings.get_security_registration_visible()

        request = current.request
        login_next = URL(args=request.args, vars=request.vars)
        if request.controller == "default" and \
           request.function == "user" and \
           "_next" in request.get_vars:
            login_next = request.get_vars["_next"]

        menu_auth = MM("Register", c="default", f="user", m="register",
                       vars=dict(_next=login_next),
                       #check=self_registration
                       **attr)

        return menu_auth

    # -------------------------------------------------------------------------
Registration Menu
dataset/ETHPy150Open sahana/eden/modules/templates/CRMT/menus.py/S3MainMenu.menu_register