diff --git a/ckanext/drupal_idp/utils.py b/ckanext/drupal_idp/utils.py index e83d009..8c37822 100644 --- a/ckanext/drupal_idp/utils.py +++ b/ckanext/drupal_idp/utils.py @@ -70,10 +70,6 @@ def session_cookie_name() -> str: """ server_name = tk.request.environ["HTTP_HOST"].split(":")[0] - - # TODO: remove - server_name = "yesser.local" - hash = hashlib.sha256(six.ensure_binary(server_name)).hexdigest()[:32] name = f"SESS{hash}" if tk.config["ckan.site_url"].startswith("https"): diff --git a/setup.py b/setup.py index fde84b9..39d9992 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ # Versions should comply with PEP440. For a discussion on single-sourcing # the version across setup.py and the project code, see # http://packaging.python.org/en/latest/tutorial.html#version - version='0.0.1', + version='0.0.2', description='''Login to CKAN using Drupal's session cookie''', long_description=long_description,