Fix xorg auth url
authorNicolas Iooss <nicolas.iooss_git@polytechnique.org>
Fri, 29 Mar 2013 20:13:20 +0000 (21:13 +0100)
committerNicolas Iooss <nicolas.iooss_git@polytechnique.org>
Fri, 29 Mar 2013 20:13:20 +0000 (21:13 +0100)
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
xnet/templates/xnet/admin_login.html
xnet/templates/xnet/home.html

index c1f3762..a6332e8 100644 (file)
@@ -4,7 +4,7 @@
 
 {% block content %}
 <div id="content-main">
-<form action="{% url 'xorgauth' %}" method="get">
+<form action="{% url 'authgroupex:login' %}" method="get">
   <input type="hidden" name="next" value="{{ next }}" />
   <p>{% trans "Connect with your X.org credentials" %}</p>
   <div class="submit-row">
index 5a6575e..19b8ce4 100644 (file)
@@ -6,6 +6,6 @@
     <h1>Welcome, {{ user.get_full_name }}</h1>
 {% else %}
     <h1>Authenticate</h1>
-        <p><a href="{% url 'xorgauth' %}?next=/" />Connect through X.org</a></p>
+        <p><a href="{% url 'authgroupex:login' %}?next=/" />Connect through X.org</a></p>
 {% endif %}
 {% endblock %}