Skip to content

Commit

Permalink
Missed @login_required decorator on the node_logs endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
mwielgoszewski committed May 31, 2016
1 parent 7cd5c73 commit 084b044
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doorman/manage/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ def node_activity(node_id):

@blueprint.route('/node/<int:node_id>/logs')
@blueprint.route('/node/<int:node_id>/logs/<int:page>')
@login_required
def node_logs(node_id, page=1):
node = Node.query.filter(Node.id == node_id).first_or_404()
status_logs = StatusLog.query.filter_by(node=node)
Expand Down

0 comments on commit 084b044

Please sign in to comment.