Fix custom domain prefix + cookie
Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
@@ -63,7 +63,8 @@ export default function VerifyMagicLinkPagePageMutation() {
|
||||
description: __("Your have successfully signed in"),
|
||||
variant: "success",
|
||||
});
|
||||
window.location.href = getPathPrefix();
|
||||
const pathPrefix = getPathPrefix();
|
||||
window.location.href = pathPrefix ? getPathPrefix() : "/";
|
||||
},
|
||||
onError: (err) => {
|
||||
toast({
|
||||
|
||||
Reference in New Issue
Block a user