mirror of
https://github.com/discourse/discourse-subscriptions.git
synced 2025-03-06 17:49:24 +00:00
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) => {
|
return ajax("/s/contributors", { method: "get" }).then((result) => {
|
||||||
this.setProperties({
|
this.setProperties({
|
||||||
contributors: result,
|
contributors: result,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user