Skip to content

Commit c8b0d70

Browse files
authored
Merge pull request #1311 from solid/dev
Dev
2 parents ee7707a + 9d091ed commit c8b0d70

File tree

3 files changed

+783
-290
lines changed

3 files changed

+783
-290
lines changed

common/js/auth-buttons.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,7 @@
4646
alert(`Invalid login.\n\nDid you set ${session.idp} as your OIDC provider in your profile ${session.webId}?`)
4747
await auth.logout()
4848
}
49-
// Now that we have a cookie, reload to display the authenticated page
50-
const webId = new URL(session.webId)
51-
const podUrl = `${webId.protocol}//${webId.host}`
52-
location.href = podUrl
49+
location.reload()
5350
}
5451
}
5552

0 commit comments

Comments
 (0)