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

using the cas test server

parent dc42b568
......@@ -127,8 +127,10 @@ AUTHENTICATION_BACKENDS = (
'django.contrib.auth.backends.ModelBackend',
'cas.backends.CASBackend',
)
CAS_SERVER_URL = 'https://login.gmu.edu'
if DEBUG:
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_PROVIDE_URL_TO_LOGOUT = True
#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