diff options
author | Vitaly Takmazov | 2018-06-16 22:17:09 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 10:37:52 +0300 |
commit | 694140e3197968a1d03ac58a903b20e181302cd4 (patch) | |
tree | ffa4d59f2fb9fcf4989579c47f512c4332b6d2d5 /vnext/src | |
parent | 67afd8e9378c65bff11a2aac21d95577fa916dc5 (diff) |
Redirect anonymous from protected resource
Diffstat (limited to 'vnext/src')
-rw-r--r-- | vnext/src/components/Feeds.js | 2 |
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 => { |