Skip to content

Commit

Permalink
Merge pull request #86 from EDITD/sp-only
Browse files Browse the repository at this point in the history
Make idp settings optional
  • Loading branch information
pitbulk committed Sep 9, 2015
2 parents 6fcc7d4 + f80ee06 commit 839ac86
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/onelogin/saml2/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,9 @@ def __load_settings_from_dict(self, settings):
if len(errors) == 0:
self.__errors = []
self.__sp = settings['sp']
self.__idp = settings['idp']

if 'idp' in settings:
self.__idp = settings['idp']
if 'strict' in settings:
self.__strict = settings['strict']
if 'debug' in settings:
Expand Down

0 comments on commit 839ac86

Please sign in to comment.