From 10e50bc77f24bc0fe2c19c59f365cdf61dce4594 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 24 Aug 2021 10:58:50 +0200 Subject: [PATCH] stages/user_login: improve logging Signed-off-by: Jens Langhammer --- authentik/stages/user_login/stage.py | 1 + 1 file changed, 1 insertion(+) diff --git a/authentik/stages/user_login/stage.py b/authentik/stages/user_login/stage.py index 9de80233d..568aa8885 100644 --- a/authentik/stages/user_login/stage.py +++ b/authentik/stages/user_login/stage.py @@ -40,6 +40,7 @@ class UserLoginStageView(StageView): self.request.session.set_expiry(delta) LOGGER.debug( "Logged in", + backend=backend, user=self.executor.plan.context[PLAN_CONTEXT_PENDING_USER], flow_slug=self.executor.flow.slug, session_duration=self.executor.current_stage.session_duration,