enable register

This commit is contained in:
deflax 2019-05-12 20:39:25 +03:00
parent b39f74078b
commit 4110963d30
2 changed files with 6 additions and 1 deletions

View file

@ -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' }

View file

@ -100,6 +100,12 @@
</div> </div>
<br />
<br />
<br />
<br />
{% endblock %} {% endblock %}
{% block footer %} {% block footer %}