Skip to content

Commit

Permalink
Merge pull request #61 from uw-it-aca/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
mikeseibel committed Aug 11, 2020
2 parents 7f058d1 + fbcf850 commit 3db4a89
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions blti/validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ def client_key_length(self):
def nonce_length(self):
return 20, 50

@property
def enforce_ssl(self):
return getattr(
settings, 'LTI_ENFORCE_SSL', True)

@property
def safe_characters(self):
return set(UNICODE_ASCII_CHARACTER_SET) | set('-_')
Expand Down

0 comments on commit 3db4a89

Please sign in to comment.