Skip to content

Commit aad9a35

Browse files
authored
Merge pull request #364 from topcoder-platform/update-uninav-support-octana
remove pathname from return url on signout
2 parents 452312d + cf3241d commit aad9a35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/components/user-area/UserArea.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
2222
$: ({
2323
signOut: onSignOut = function onSignOut() {
24-
const locationHref = `${window.location.origin}${window.location.pathname}`
24+
const locationHref = `${window.location.origin}`
2525
window.location.href = `${AUTH0_AUTHENTICATOR_URL}?logout=true&retUrl=${encodeURIComponent(locationHref)}`;
2626
},
2727
ready: isReady,

0 commit comments

Comments
 (0)