Skip to content
Snippets Groups Projects
Commit eda4ad3f authored by Joona Erkkilä's avatar Joona Erkkilä
Browse files

Update routes.py

parent 4e8660e9
No related branches found
No related tags found
No related merge requests found
......@@ -137,7 +137,7 @@ def logout():
@app.route('/admin')
def admin():
### Implementing fix for broken access control:
# if 'role' in session:
# if 'admin' in session:
# return render_template('admin.html')
# else:
# return render_template('/')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment