From 0b25c612c0ae6d9701fe9daa6d5adaf7f4aa583f Mon Sep 17 00:00:00 2001 From: rlew-is <96594816+rlew-is@users.noreply.github.com> Date: Tue, 30 May 2023 09:36:51 +0100 Subject: [PATCH] stages/deny: fix typos (#5800) * Fix typo in stage.py Fix typo in "Cancells the current flow" Signed-off-by: rlew-is <96594816+rlew-is@users.noreply.github.com> * Fix typo in models.py Fix typo in "Cancells the current flow" Signed-off-by: rlew-is <96594816+rlew-is@users.noreply.github.com> --------- Signed-off-by: rlew-is <96594816+rlew-is@users.noreply.github.com> --- authentik/stages/deny/models.py | 2 +- authentik/stages/deny/stage.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/authentik/stages/deny/models.py b/authentik/stages/deny/models.py index 4ef252e3c..4aa2e692f 100644 --- a/authentik/stages/deny/models.py +++ b/authentik/stages/deny/models.py @@ -8,7 +8,7 @@ from authentik.flows.models import Stage class DenyStage(Stage): - """Cancells the current flow.""" + """Cancels the current flow.""" @property def serializer(self) -> type[BaseSerializer]: diff --git a/authentik/stages/deny/stage.py b/authentik/stages/deny/stage.py index 0513c269a..4e9e93d0c 100644 --- a/authentik/stages/deny/stage.py +++ b/authentik/stages/deny/stage.py @@ -5,10 +5,10 @@ from authentik.flows.stage import StageView 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: