Corrected behavior of merge/login forms on GET requests.
[django-cas-provider.git] / cas_provider / urls.py
index e8b8a14..75399c0 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'^merge/', login, {'merge': True})
+                       )