FIX: New user sessions redirected weirdly on login-required sites (#80)
This commit is contained in:
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,
|
||||
|
|
Loading…
Reference in New Issue