Add email/password sign up

This commit is contained in:
rubenwardy
2018-05-29 18:27:33 +01:00
parent 63a3b5e872
commit df291db69b
4 changed files with 29 additions and 6 deletions

View File

@@ -95,5 +95,21 @@ Creating an Account
<input type="submit" value="Next">
</form>
</div>
<div class="box box_grey">
<h2>Option 3 - Email/password sign up</h2>
<div class="box-body">
<p>
<b>Only do this if you don't have a forum account!</b>
</p>
<p>
If you have a forum account, please use one of the other two
options.
</p>
<a class="button" href="{{ url_for('user.register') }}">Register</a>
</div>
</div>
{% endif %}
{% endblock %}

View File

@@ -32,7 +32,7 @@
Minetest Forum
</a>
{% elif user == current_user %}
<a href="">Link Forums Account</a>
No forum account
{% endif %}
{% if (user.forums_username and user.github_username) or user == current_user %}