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'))
|
||||
|
||||
@auth.route('/register', methods=['GET', 'POST'])
|
||||
@admin_required
|
||||
def register():
|
||||
#print(current_app.secret_key)
|
||||
page = { 'title': 'Register' }
|
||||
|
|
|
@ -100,6 +100,12 @@
|
|||
|
||||
</div>
|
||||
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block footer %}
|
||||
|
|
Loading…
Reference in a new issue