Skip to content

Commit a25eee3

Browse files
Arne HasselArne Hassel
authored andcommitted
Merge branch 'login-redirect-revert' into dev
2 parents c08a287 + 4b18a53 commit a25eee3

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)