From 6465404ebe06096614131cdcb879b86014da60ca Mon Sep 17 00:00:00 2001 From: Sebastian Serth Date: Sat, 18 Feb 2023 19:27:46 +0100 Subject: [PATCH] Set sentry context after logging in --- app/controllers/sessions_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/sessions_controller.rb b/app/controllers/sessions_controller.rb index a1cbf077..b557782b 100644 --- a/app/controllers/sessions_controller.rb +++ b/app/controllers/sessions_controller.rb @@ -10,6 +10,7 @@ class SessionsController < ApplicationController skip_after_action :verify_authorized skip_before_action :verify_authenticity_token, only: :create_through_lti + after_action :set_sentry_context def new redirect_to(:root, alert: t('shared.already_signed_in')) if current_user