Commit 659b769f authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

Signup form fixes

- Resolve provider name on hidden input
- Hide signup methods on form submission
parent 1f3cec0c
......@@ -4,7 +4,7 @@
<input type="hidden" name="next" value="{{ next }}">
<input type="hidden" name="code" value="{{ code }}">
<input type="hidden" name="provider" value={{ provider|default:"local" }}>
<input type="hidden" name="provider" value={{ provider.module|default:"local" }}>
{% if third_party_token %}
<input type="hidden" name="third_party_token" value={{ third_party_token }}>
{% endif %}
......
......@@ -17,7 +17,7 @@
{% block body.right %}
<h2>{% trans "SIGN UP" %}</h2>
{% if not third_party_token %}
{% if not third_party_token and not signup_form.errors %}
<p>{% trans "Sign up using one of the following methods" %}</p>
<div class="extralogin">
{% for provider in auth_providers %}
......
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