mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-19 19:36:38 +00:00
improve clean redirects
This commit is contained in:
@@ -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[] = [];
|
||||
|
||||
Reference in New Issue
Block a user