def login_required(view_func):

    if satnet_settings.JRPC_LOGIN_REQUIRED:
        return auth_login_required(view_func)
    else:
        return view_func
Activable decorator overriding login_required
dataset/ETHPy150Open satnet-project/server/services/accounts/decorators.py/login_required