From 83cc5d24f247d26c4d39b19235063a9909d1bfef Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 2 Mar 2021 09:30:29 +0100 Subject: [PATCH 1/2] stages/password: improve logging --- authentik/stages/password/stage.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/authentik/stages/password/stage.py b/authentik/stages/password/stage.py index e5760bc8f..b575c99f3 100644 --- a/authentik/stages/password/stage.py +++ b/authentik/stages/password/stage.py @@ -42,14 +42,14 @@ def authenticate( except ImportError: LOGGER.warning("Failed to import backend", path=backend_path) continue - LOGGER.debug("Attempting authentication...", backend=backend) + LOGGER.debug("Attempting authentication...", backend=backend_path) user = backend.authenticate(request, **credentials) if user is None: - LOGGER.debug("Backend returned nothing, continuing") + LOGGER.debug("Backend returned nothing, continuing", backend=backend_path) continue # Annotate the user object with the path of the backend. user.backend = backend_path - LOGGER.debug("Successful authentication", user=user, backend=backend) + LOGGER.debug("Successful authentication", user=user, backend=backend_path) return user # The credentials supplied are invalid to all backends, fire signal From 7ae9482e7b7a70ff50d00b08db251a8689bbf2fc Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 2 Mar 2021 09:40:43 +0100 Subject: [PATCH 2/2] web: fix mismatched version --- web/src/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/constants.ts b/web/src/constants.ts index 9079f262a..a7c83cadc 100644 --- a/web/src/constants.ts +++ b/web/src/constants.ts @@ -3,4 +3,4 @@ export const SUCCESS_CLASS = "pf-m-success"; export const ERROR_CLASS = "pf-m-danger"; export const PROGRESS_CLASS = "pf-m-in-progress"; export const CURRENT_CLASS = "pf-m-current"; -export const VERSION = "2021.2.5-stable"; +export const VERSION = "2021.2.6-stable";