improve clean redirects

This commit is contained in:
miloschwartz
2025-12-20 12:00:58 -05:00
parent afc19f192b
commit 9ffa391416
3 changed files with 84 additions and 17 deletions

View File

@@ -66,6 +66,7 @@ export default async function Page(props: {
let redirectUrl: string | undefined = undefined;
if (searchParams.redirect) {
redirectUrl = cleanRedirect(searchParams.redirect as string);
searchParams.redirect = redirectUrl;
}
let loginIdps: LoginFormIDP[] = [];