Skip to content

Commit

Permalink
fix logout
Browse files Browse the repository at this point in the history
  • Loading branch information
John Pope committed Nov 4, 2016
1 parent 7254cd1 commit 86acc42
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/admin_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ def sync_canvas_accounts account, org_id = nil

def logout
session[:admin_authorized] = false
session[:authenticated_user] = nil

redirect_to root_path;
end
Expand Down

0 comments on commit 86acc42

Please sign in to comment.