Skip to content

Modern Docker Management, Designed for Everyone

fix: use correct redirect after login

Kyle Mendell58a43404ef3b
diff --git a/frontend/src/routes/auth/login/+page.svelte b/frontend/src/routes/auth/login/+page.svelte
index 79281206c..fac209653 100644
--- a/frontend/src/routes/auth/login/+page.svelte
+++ b/frontend/src/routes/auth/login/+page.svelte
@@ -25,7 +25,7 @@
const showLocalLoginForm = $derived(localAuthEnabledBySettings);
function handleOidcLogin() {
- const currentRedirect = data.redirectTo || '/';
+ const currentRedirect = data.redirectTo || '/dashboard';
goto(`/auth/oidc/login?redirect=${encodeURIComponent(currentRedirect)}`);
}