Commit 47825086 authored by Daniel W Bond's avatar Daniel W Bond
Browse files

using the cas test server

parent dc42b568
...@@ -127,8 +127,10 @@ AUTHENTICATION_BACKENDS = ( ...@@ -127,8 +127,10 @@ AUTHENTICATION_BACKENDS = (
'django.contrib.auth.backends.ModelBackend', 'django.contrib.auth.backends.ModelBackend',
'cas.backends.CASBackend', 'cas.backends.CASBackend',
) )
if DEBUG:
CAS_SERVER_URL = 'https://login.gmu.edu' CAS_SERVER_URL = 'https://cas.srct.gmu.edu' # the testing one
else:
CAS_SERVER_URL = 'https://login.gmu.edu' # the *real* one
CAS_LOGOUT_COMPLETELY = True CAS_LOGOUT_COMPLETELY = True
CAS_PROVIDE_URL_TO_LOGOUT = True CAS_PROVIDE_URL_TO_LOGOUT = True
#LOGIN_URL = '/login/' #LOGIN_URL = '/login/'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment