Added FERNET_KEY information to the CMS configuration (#21561)

[ENT-2191]
This commit is contained in:
Albert (AJ) St. Aubin
2019-09-04 12:20:56 -04:00
committed by Cory Lee
parent 4d2ca1660a
commit 9eabc2a8f9
2 changed files with 8 additions and 0 deletions

View File

@@ -1999,6 +1999,11 @@ FACEBOOK_APP_ID = 'FACEBOOK_APP_ID'
FACEBOOK_APP_SECRET = 'FACEBOOK_APP_SECRET'
FACEBOOK_API_VERSION = 'v2.1'
############### Settings for django-fernet-fields ##################
FERNET_KEYS = [
'DUMMY KEY CHANGE BEFORE GOING TO PRODUCTION',
]
### Proctoring configuration (redirct URLs and keys shared between systems) ####
PROCTORING_BACKENDS = {
'DEFAULT': 'null',

View File

@@ -575,6 +575,9 @@ COMPLETION_VIDEO_COMPLETE_PERCENTAGE = ENV_TOKENS.get(
COMPLETION_VIDEO_COMPLETE_PERCENTAGE,
)
############### Settings for django-fernet-fields ##################
FERNET_KEYS = AUTH_TOKENS.get('FERNET_KEYS', FERNET_KEYS)
####################### Enterprise Settings ######################
# A default dictionary to be used for filtering out enterprise customer catalog.