signin in fix

This commit is contained in:
2025-04-09 13:58:00 +01:00
parent 34e964c56c
commit 59eaf80af3
+7 -1
View File
@@ -182,7 +182,13 @@ export async function getServerSideProps(context) {
return toUrlObj.toString(); // Return the full new URL as a string return toUrlObj.toString(); // Return the full new URL as a string
}; };
formURL = appendParamsAndPathToNewUrl(context.query.callbackUrl, formURL); typeof context.query.callbackUrl != "undefined" &&
(formURL = appendParamsAndPathToNewUrl(
context.query.callbackUrl,
formURL
));
//formURL = appendParamsAndPathToNewUrl(context.query.callbackUrl, formURL);
const url = new URL(formURL); // base URL const url = new URL(formURL); // base URL