Repository navigation
web/stages: Fix stage type errors - #25689
Conversation
The Enter-to-redirect handler was added to `document` on every challenge update and never removed, leaking a listener per update and firing redirect() once per accumulated listener. Register it a single time and tear it down on disconnect via an AbortController.
✅ Deploy Preview for authentik-storybook ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for authentik-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #25689 +/- ##
==========================================
- Coverage 91.71% 91.67% -0.05%
==========================================
Files 1154 1154
Lines 73568 73568
Branches 4054 4054
==========================================
- Hits 67474 67443 -31
- Misses 6052 6083 +31
Partials 42 42
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
1df3413 to
6272365
Compare
|
authentik PR Installation instructions Instructions for docker-composeAdd the following block to your AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-62723650a4705375918e2abc7e86e33a1b89f605
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)sAfterwards, run the upgrade commands from the latest release notes. Instructions for KubernetesAdd the following block to your authentik:
outposts:
container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
image:
repository: ghcr.io/goauthentik/dev-server
tag: gh-62723650a4705375918e2abc7e86e33a1b89f605Afterwards, run the upgrade commands from the latest release notes. |
|
🍒 Cherry-pick to |
….8) (#26194) web/stages: Fix stage type errors (#25689) * web/flow: fix leaked keydown listener in RedirectStage The Enter-to-redirect handler was added to `document` on every challenge update and never removed, leaking a listener per update and firing redirect() once per accumulated listener. Register it a single time and tear it down on disconnect via an AbortController. * Clean up. * Fix method accessors. * Fix static challenge type check. Co-authored-by: Teffen Ellis <[email protected]>
This PR fixes several issues reported by lit-analyzer, as well as a few back-portable refinements:
publicon overriddenprotectedmethods.BaseStagecan't inferFlowErrorChallengeas a validStageChallengeLike.