diff --git a/authentik/core/api/providers.py b/authentik/core/api/providers.py index c34207e81..ff58a206f 100644 --- a/authentik/core/api/providers.py +++ b/authentik/core/api/providers.py @@ -62,7 +62,6 @@ class ProviderViewSet(ModelViewSet): @swagger_auto_schema(responses={200: TypeCreateSerializer(many=True)}) @action(detail=False) - # pylint: disable=unused-argument def types(self, request: Request) -> Response: """Get all creatable provider types""" data = [] diff --git a/authentik/core/api/sources.py b/authentik/core/api/sources.py index b8f191d50..9e8b814e0 100644 --- a/authentik/core/api/sources.py +++ b/authentik/core/api/sources.py @@ -50,7 +50,6 @@ class SourceViewSet(ReadOnlyModelViewSet): @swagger_auto_schema(responses={200: TypeCreateSerializer(many=True)}) @action(detail=False) - # pylint: disable=unused-argument def types(self, request: Request) -> Response: """Get all creatable source types""" data = [] diff --git a/website/docs/releases/2021.2.md b/website/docs/releases/2021.2.md index 0139a495d..8d76aa6c7 100644 --- a/website/docs/releases/2021.2.md +++ b/website/docs/releases/2021.2.md @@ -72,6 +72,11 @@ title: Release 2021.1.2 - sources/oauth: add callback URL to api - web: fix ModalButton working in global scope, causing issues on 2nd use +## Fixed in 2021.2.3-stable + +- core: fix tokens using wrong lookup +- web: fix missing source create button + ## Upgrading This release does not introduce any new requirements.