1
0
mirror of synced 2026-08-05 14:47:03 +00:00

FIX: New user sessions redirected weirdly on login-required sites (#80)

This commit is contained in:
Justin DiRose
2021-06-22 10:04:02 -05:00
committed by GitHub
parent 0b2c8bd513
commit eee1adc40f
@@ -54,7 +54,7 @@ export default Component.extend({
}
}
if (this.showContributors) {
if (this.currentUser && this.showContributors) {
return ajax("/s/contributors", { method: "get" }).then((result) => {
this.setProperties({
contributors: result,