Skip to content

Commit

Permalink
Correct typo 'authtkt' for secure and http_only
Browse files Browse the repository at this point in the history
  • Loading branch information
ger-benjamin committed Oct 30, 2018
1 parent 7271338 commit 98860c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions geoportal/c2cgeoportal_geoportal/lib/authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ def create_authentication(settings):
timeout = None if timeout is None else int(timeout)
reissue_time = settings.get("reissue_time")
reissue_time = None if reissue_time is None else int(reissue_time)
http_only = settings.get("authtk_http_only")
http_only = settings.get("authtkt_http_only")
http_only = True if http_only is None else http_only != "False"
secure = settings.get("authtk_secure")
secure = settings.get("authtkt_secure")
secure = True if secure is None else secure != "False"
cookie_authentication_policy = AuthTktAuthenticationPolicy(
settings["authtkt_secret"],
Expand Down

0 comments on commit 98860c8

Please sign in to comment.