Skip to content

Commit

Permalink
Merge pull request #77 from sasjonge/master
Browse files Browse the repository at this point in the history
Added login_required to tutorial (and QA page)
  • Loading branch information
daniel86 authored Feb 8, 2021
2 parents 35efdcc + 69e9c9d commit b479e6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions pages/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ def render_main():
return redirect(url_for('render_QA_page'))

@app.route('/QA')
@login_required
def render_QA_page():
# Check if the connection to the neemhub is established:
# connect_mongo will try to connect to the mongo server.
Expand Down
1 change: 1 addition & 0 deletions pages/tutorials.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
from config.settings import USE_HOST_KNOWROB


@login_required
@app.route('/tutorials/')
def render_tutorials():
tutorial_names = [
Expand Down

0 comments on commit b479e6f

Please sign in to comment.