diff --git a/c2cwsgiutils/auth.py b/c2cwsgiutils/auth.py index 1ca33216a..08d5ffada 100644 --- a/c2cwsgiutils/auth.py +++ b/c2cwsgiutils/auth.py @@ -33,7 +33,7 @@ def is_auth(request: pyramid.request.Request, env_name: Any=None, config_name: A secret = request.headers.get('X-API-Key') if secret is not None: - if secret == "": + if secret == "": # nosec # logout request.response.delete_cookie(SECRET_ENV) return False diff --git a/setup.py b/setup.py index 931e8846b..83b803020 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages -VERSION = '2.16.0' +VERSION = '2.17.0' HERE = os.path.abspath(os.path.dirname(__file__)) INSTALL_REQUIRES = [ pkg.split('==')[0]