enable register
This commit is contained in:
parent
b39f74078b
commit
4110963d30
2 changed files with 6 additions and 1 deletions
|
@ -140,7 +140,6 @@ def logout():
|
||||||
return redirect(url_for('main.index'))
|
return redirect(url_for('main.index'))
|
||||||
|
|
||||||
@auth.route('/register', methods=['GET', 'POST'])
|
@auth.route('/register', methods=['GET', 'POST'])
|
||||||
@admin_required
|
|
||||||
def register():
|
def register():
|
||||||
#print(current_app.secret_key)
|
#print(current_app.secret_key)
|
||||||
page = { 'title': 'Register' }
|
page = { 'title': 'Register' }
|
||||||
|
|
|
@ -100,6 +100,12 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<br />
|
||||||
|
<br />
|
||||||
|
<br />
|
||||||
|
<br />
|
||||||
|
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block footer %}
|
{% block footer %}
|
||||||
|
|
Loading…
Reference in a new issue