Skip to content

Commit a6703ed

Browse files
Merge remote-tracking branch 'origin/login-redirect' into dev
2 parents 371894e + a9c14b8 commit a6703ed

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

common/js/auth-buttons.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@
3030
await auth.logout()
3131
}
3232
// Now that we have a cookie, reload to display the authenticated page
33-
location.reload()
33+
const webId = new URL(session.webId)
34+
const podUrl = `${webId.protocol}//${webId.host}`
35+
location.href = podUrl
3436
}
3537
}
3638

0 commit comments

Comments
 (0)