allow None as RRN_POP_SERVICE_URL
This commit is contained in:
parent
745ea3cc32
commit
1a728f6768
|
@ -47,7 +47,7 @@ class AuthenticAdapter(DefaultAdapter):
|
|||
return user_class.objects.create()
|
||||
|
||||
def provision_from_nrn(self, user, nrn):
|
||||
if not hasattr(settings, 'RRN_POP_SERVICE_URL'):
|
||||
if not getattr(settings, 'RRN_POP_SERVICE_URL', None):
|
||||
return
|
||||
logger = logging.getLogger(__name__)
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue