diff --git a/lms/djangoapps/certificates/queue.py b/lms/djangoapps/certificates/queue.py index 44ccb82823..9ada836ea9 100644 --- a/lms/djangoapps/certificates/queue.py +++ b/lms/djangoapps/certificates/queue.py @@ -22,6 +22,9 @@ class XQueueCertInterface(object): def __init__(self, request=None): + # Get basic auth (username/password) for + # xqueue connection if it's in the settings + if settings.XQUEUE_INTERFACE.get('basic_auth') is not None: requests_auth = HTTPBasicAuth( *settings.XQUEUE_INTERFACE['basic_auth'])