diff --git a/authentik/core/views/impersonate.py b/authentik/core/views/impersonate.py index ed425a1ea..6a0dcaff3 100644 --- a/authentik/core/views/impersonate.py +++ b/authentik/core/views/impersonate.py @@ -4,10 +4,11 @@ from django.http import HttpRequest, HttpResponse from django.shortcuts import get_object_or_404, redirect from django.views import View from structlog.stdlib import get_logger -from authentik.lib.config import CONFIG + from authentik.core.middleware import SESSION_IMPERSONATE_ORIGINAL_USER, SESSION_IMPERSONATE_USER from authentik.core.models import User from authentik.events.models import Event, EventAction +from authentik.lib.config import CONFIG LOGGER = get_logger() diff --git a/web/package-lock.json b/web/package-lock.json index 53cc40344..320cc4c0a 100644 --- a/web/package-lock.json +++ b/web/package-lock.json @@ -16,7 +16,7 @@ "@babel/preset-typescript": "^7.16.7", "@formatjs/intl-listformat": "^6.5.3", "@fortawesome/fontawesome-free": "^6.1.1", - "@goauthentik/api": "^2022.4.1-1649838686", + "@goauthentik/api": "^2022.4.1-1650207200", "@jackfranklin/rollup-plugin-markdown": "^0.3.0", "@lingui/cli": "^3.13.2", "@lingui/core": "^3.13.2", @@ -1755,9 +1755,9 @@ } }, "node_modules/@goauthentik/api": { - "version": "2022.4.1-1649838686", - "resolved": "https://registry.npmjs.org/@goauthentik/api/-/api-2022.4.1-1649838686.tgz", - "integrity": "sha512-5iUxvBMiTzIc0FHZwo2DUmQpzQZMaJVErcJ20yOQB5BFttIX7G6xcFWW6GXlwDc7EvPWik/OQM+ZBAWVjE/FHQ==" + "version": "2022.4.1-1650207200", + "resolved": "https://registry.npmjs.org/@goauthentik/api/-/api-2022.4.1-1650207200.tgz", + "integrity": "sha512-w3Pi/+CJSdMTN4AurcrJHbOJQKhZPbx8B/ENQd487tmtxoyKHH2KgYx/xgBxx0qAyRNDBvx+DrGpBLFqd2SQQQ==" }, "node_modules/@humanwhocodes/config-array": { "version": "0.9.2", @@ -10054,9 +10054,9 @@ "integrity": "sha512-J/3yg2AIXc9wznaVqpHVX3Wa5jwKovVF0AMYSnbmcXTiL3PpRPfF58pzWucCwEiCJBp+hCNRLWClTomD8SseKg==" }, "@goauthentik/api": { - "version": "2022.4.1-1649838686", - "resolved": "https://registry.npmjs.org/@goauthentik/api/-/api-2022.4.1-1649838686.tgz", - "integrity": "sha512-5iUxvBMiTzIc0FHZwo2DUmQpzQZMaJVErcJ20yOQB5BFttIX7G6xcFWW6GXlwDc7EvPWik/OQM+ZBAWVjE/FHQ==" + "version": "2022.4.1-1650207200", + "resolved": "https://registry.npmjs.org/@goauthentik/api/-/api-2022.4.1-1650207200.tgz", + "integrity": "sha512-w3Pi/+CJSdMTN4AurcrJHbOJQKhZPbx8B/ENQd487tmtxoyKHH2KgYx/xgBxx0qAyRNDBvx+DrGpBLFqd2SQQQ==" }, "@humanwhocodes/config-array": { "version": "0.9.2", diff --git a/web/package.json b/web/package.json index c4a2b817a..191988eab 100644 --- a/web/package.json +++ b/web/package.json @@ -59,7 +59,7 @@ "@babel/preset-typescript": "^7.16.7", "@formatjs/intl-listformat": "^6.5.3", "@fortawesome/fontawesome-free": "^6.1.1", - "@goauthentik/api": "^2022.4.1-1649838686", + "@goauthentik/api": "^2022.4.1-1650207200", "@jackfranklin/rollup-plugin-markdown": "^0.3.0", "@lingui/cli": "^3.13.2", "@lingui/core": "^3.13.2",