Normal login now pull the service off the session, if it doesn't exist already.
[django-cas-provider.git] / cas_provider / urls.py
index e8b8a14..f91786b 100644 (file)
@@ -3,8 +3,9 @@ from django.conf.urls.defaults import *
 from views import *
 
 urlpatterns = patterns('',
 from views import *
 
 urlpatterns = patterns('',
-    url(r'^login/', login),
-    url(r'^socialauth-login/$', socialauth_login),
-    url(r'^validate/', validate),
-    url(r'^logout/', logout),
-)
\ No newline at end of file
+                       url(r'^login/', login),
+                       url(r'^socialauth-login/$', socialauth_login),
+                       url(r'^validate/', validate),
+                       url(r'^logout/', logout),
+                       url(r'^login/merge/', login, {'merge': True, 'template_name': 'cas/merge.html'})
+                       )