Skip to content

Commit

Permalink
remove local debug
Browse files Browse the repository at this point in the history
  • Loading branch information
smotornyuk committed Mar 2, 2021
1 parent 5313c29 commit daf50ea
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions ckanext/drupal_idp/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit daf50ea

Please sign in to comment.