aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-06-16 22:17:09 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:52 +0300
commit694140e3197968a1d03ac58a903b20e181302cd4 (patch)
treeffa4d59f2fb9fcf4989579c47f512c4332b6d2d5 /vnext/src/components
parent67afd8e9378c65bff11a2aac21d95577fa916dc5 (diff)
Redirect anonymous from protected resource
Diffstat (limited to 'vnext/src/components')
-rw-r--r--vnext/src/components/Feeds.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnext/src/components/Feeds.js b/vnext/src/components/Feeds.js
index 3c183f7f..9748c113 100644
--- a/vnext/src/components/Feeds.js
+++ b/vnext/src/components/Feeds.js
@@ -42,7 +42,7 @@ class Feed extends React.Component {
url = `${url}?${qs.stringify(params)}`;
}
if (!params.hash && this.props.authRequired) {
- return
+ this.props.history.push('/')
}
fetch(url)
.then(response => {