From fbc33815a328a74529bbcfb2fcd87e0180cf5690 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 28 Mar 2021 22:33:27 +0200 Subject: [PATCH] core: fix user view imports Signed-off-by: Jens Langhammer --- authentik/core/views/user.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/authentik/core/views/user.py b/authentik/core/views/user.py index 6c5a9d7d4..968547434 100644 --- a/authentik/core/views/user.py +++ b/authentik/core/views/user.py @@ -1,22 +1,17 @@ """authentik core user views""" -from typing import Any - from django.contrib.auth.mixins import LoginRequiredMixin from django.contrib.auth.mixins import ( PermissionRequiredMixin as DjangoPermissionRequiredMixin, ) from django.contrib.messages.views import SuccessMessageMixin from django.http.response import HttpResponse -from django.urls import reverse_lazy from django.utils.translation import gettext as _ from django.views.generic import UpdateView -from django.views.generic.base import TemplateView from guardian.mixins import PermissionRequiredMixin from guardian.shortcuts import get_objects_for_user from authentik.core.forms.token import UserTokenForm from authentik.core.models import Token, TokenIntents -from authentik.flows.models import Flow, FlowDesignation from authentik.lib.views import CreateAssignPermView