From b15282e324392ada122d063ec1bc28dabc49fd95 Mon Sep 17 00:00:00 2001 From: rlew-is <96594816+rlew-is@users.noreply.github.com> Date: Mon, 29 May 2023 15:28:32 +0100 Subject: [PATCH 1/2] Fix typo in stage.py Fix typo in "Cancells the current flow" Signed-off-by: rlew-is <96594816+rlew-is@users.noreply.github.com> --- authentik/stages/deny/stage.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/authentik/stages/deny/stage.py b/authentik/stages/deny/stage.py index 0513c269adb..4e9e93d0cb3 100644 --- a/authentik/stages/deny/stage.py +++ b/authentik/stages/deny/stage.py @@ -5,10 +5,10 @@ class DenyStageView(StageView): - """Cancells the current flow""" + """Cancels the current flow""" def get(self, request: HttpRequest) -> HttpResponse: - """Cancells the current flow""" + """Cancels the current flow""" return self.executor.stage_invalid() def post(self, request: HttpRequest) -> HttpResponse: From 250bf83328b0dc5f5ce51469cde525485eac1808 Mon Sep 17 00:00:00 2001 From: rlew-is <96594816+rlew-is@users.noreply.github.com> Date: Mon, 29 May 2023 15:35:12 +0100 Subject: [PATCH 2/2] Fix typo in models.py Fix typo in "Cancells the current flow" Signed-off-by: rlew-is <96594816+rlew-is@users.noreply.github.com> --- authentik/stages/deny/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentik/stages/deny/models.py b/authentik/stages/deny/models.py index 4ef252e3c2e..4aa2e692f3c 100644 --- a/authentik/stages/deny/models.py +++ b/authentik/stages/deny/models.py @@ -8,7 +8,7 @@ class DenyStage(Stage): - """Cancells the current flow.""" + """Cancels the current flow.""" @property def serializer(self) -> type[BaseSerializer]: