From f589adcd718ab76dc445894c31568cccf9b25a26 Mon Sep 17 00:00:00 2001 From: John Jarvis Date: Thu, 1 Nov 2012 20:53:03 -0400 Subject: [PATCH] Comment about basic auth --- lms/djangoapps/certificates/queue.py | 3 +++ 1 file changed, 3 insertions(+) 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'])