Skip to content

Commit 4b18a53

Browse files
committed
Reverting a fix that redirects user to Pod to agressively
1 parent 0555e66 commit 4b18a53

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

common/js/auth-buttons.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,7 @@
2929
alert(`Invalid login.\n\nDid you set ${session.idp} as your OIDC provider in your profile ${session.webId}?`)
3030
await auth.logout()
3131
}
32-
// Now that we have a cookie, reload to display the authenticated page
33-
const webId = new URL(session.webId)
34-
const podUrl = `${webId.protocol}//${webId.host}`
35-
location.href = podUrl
32+
location.reload()
3633
}
3734
}
3835

0 commit comments

Comments
 (0)