Skip to content

Commit

Permalink
contrib: require prefix in config item lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
max-moser committed Aug 28, 2020
1 parent a7c6398 commit 103f16d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions invenio_oauthclient/contrib/keycloak/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@


def _get_config_item(item):
return current_app.config.get(item) or \
current_app.config.get("OAUTHCLIENT_" + item)
return current_app.config.get("OAUTHCLIENT_" + item)


def _get_user_info_url():
Expand Down

0 comments on commit 103f16d

Please sign in to comment.