From 77a8347b5e28f20d2eeddf245defea22398d86dd Mon Sep 17 00:00:00 2001 From: Matt Lott Date: Fri, 4 Dec 2015 16:47:49 -0800 Subject: [PATCH] Prevent double _cc classroom join --- app/views/courses/CoursesView.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/courses/CoursesView.coffee b/app/views/courses/CoursesView.coffee index 3de817c28..e65979951 100644 --- a/app/views/courses/CoursesView.coffee +++ b/app/views/courses/CoursesView.coffee @@ -139,6 +139,7 @@ module.exports = class CoursesView extends RootView classroomName: newClassroom.get('name') ownerID: newClassroom.get('ownerID') } + location.search = '' # Prevent another student from logging in later with the _cc query param in place @classrooms.add(newClassroom) @render() @classroomJustAdded = newClassroom.id