summaryrefslogtreecommitdiffstats
path: root/templates/authopenid
diff options
context:
space:
mode:
Diffstat (limited to 'templates/authopenid')
-rw-r--r--templates/authopenid/complete.html8
-rwxr-xr-xtemplates/authopenid/signin.html2
2 files changed, 8 insertions, 2 deletions
diff --git a/templates/authopenid/complete.html b/templates/authopenid/complete.html
index ce5fb7fe..efed74c7 100644
--- a/templates/authopenid/complete.html
+++ b/templates/authopenid/complete.html
@@ -34,6 +34,8 @@ parameters:
{% else %}
{% blocktrans %}register new external {{provider}} account info, see {{gravatar_faq_url}}{% endblocktrans %}
{% endif %}
+ {% else %}
+ {% blocktrans %}register new Facebook connect account info, see {{gravatar_faq_url}}{% endblocktrans %}
{% endifequal %}
{% endifequal %}
</div>
@@ -69,7 +71,11 @@ parameters:
{% ifequal login_type 'openid' %}
<form name="fregister" action="{% url user_register %}" method="POST">
{% else %}
- <form name="fregister" action="{% url user_signin %}" method="POST">
+ {% ifequal login_type 'facebook' %}
+ <form name="fregister" action="{% url fb_user_register %}" method="POST">
+ {% else %}
+ <form name="fregister" action="{% url user_signin %}" method="POST">
+ {% endifequal %}
{% endifequal %}
{{ form1.next }}
<div class="form-row-vertical">
diff --git a/templates/authopenid/signin.html b/templates/authopenid/signin.html
index 3a12f1c6..da1e5491 100755
--- a/templates/authopenid/signin.html
+++ b/templates/authopenid/signin.html
@@ -64,7 +64,7 @@
</div>
</li>
<li title="Facebook Connect">
- <fb:login-button onlogin="window.location.reload(true)"></fb:login-button>
+ <fb:login-button onlogin="window.location = '{% url fb_signin %}'"></fb:login-button>
</li>
</ul>
<ul class="providers">