Corrected OAUTH Settings initialisation

This commit is contained in:
bruce.gibbins 2023-04-18 21:35:02 +10:00
parent 101326c987
commit af2683d44b

View File

@ -254,9 +254,11 @@ HELPDESK_ALWAYS_SAVE_INCOMING_EMAIL_MESSAGE = getattr(
# email OAUTH #
#######################
HELPDESK_OAUTH = {
"token_url": "",
"client_id": "",
"secret": "",
"scope": [""]
}
HELPDESK_OAUTH = getattr(
settings, 'HELPDESK_OAUTH', {
"token_url": "",
"client_id": "",
"secret": "",
"scope": [""]
}
)