Skip to content

Commit

Permalink
Fixes #215 - Allow user to not supply Okta API key (#216)
Browse files Browse the repository at this point in the history
* Fixes #215

* Update setup.py

Remove version update :(
  • Loading branch information
kmcquade authored and achantavy committed Dec 26, 2019
1 parent aafda82 commit 8119906
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cartography/intel/okta/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def start_okta_ingestion(neo4j_session, config):
:param config: A `cartography.config` object
:return: Nothing
"""
if not config.okta_api_key:
if 'okta_api_key' not in config:
logger.warning(
"No valid Okta credentials could be found. Exiting Okta sync stage.",
)
Expand Down

0 comments on commit 8119906

Please sign in to comment.