Skip to content

Commit

Permalink
add auth for export
Browse files Browse the repository at this point in the history
  • Loading branch information
fuji246 committed Dec 1, 2012
1 parent 258d9a4 commit 8e1e6cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bbb_django/bbb/views/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ def home_page(request):
})
return render_to_response('home.html', context)

@login_required
def export_meeting(request, meeting_id):
meeting = Meeting.objects.get(id=meeting_id)
cal = Calendar()
Expand Down Expand Up @@ -125,8 +126,7 @@ def join_meeting(request, meeting_id):

@login_required
def delete_meeting(request, meeting_id, password):
#if request.method == "POST":
if True:
if request.method == "POST":
meeting = Meeting.objects.filter(id=meeting_id)
meeting.delete()
Meeting.end_meeting(meeting_id, password)
Expand Down

0 comments on commit 8e1e6cc

Please sign in to comment.