From fc667faf96321650583ef2b589e1630d8253c252 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 24 Nov 2021 21:03:25 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- oauth2_provider/views/base.py | 1 - 1 file changed, 1 deletion(-) diff --git a/oauth2_provider/views/base.py b/oauth2_provider/views/base.py index 2a874e301..cfd5aefde 100644 --- a/oauth2_provider/views/base.py +++ b/oauth2_provider/views/base.py @@ -127,7 +127,6 @@ def form_valid(self, form): credentials["claims"] = form.cleaned_data.get("claims") scopes = form.cleaned_data.get("scope") - if application.skip_authorization: allow = True