We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 187fa6f commit 8fa86c1Copy full SHA for 8fa86c1
src/shared/components/Contentful/Route.jsx
@@ -176,7 +176,7 @@ function ContentfulRoute(props) {
176
const currentPathname = typeof location === 'undefined' ? '' : removeTrailingSlash(location.pathname);
177
const redirectToUrl = _.trim(fields.redirectToUrl);
178
const requireLogin = fields.protected;
179
- console.log('check route', requireLogin, auth, encodeURIComponent(url))
+ console.log('check route', requireLogin, auth, encodeURIComponent(url));
180
if (requireLogin && (!auth || !auth.tokenV3)) {
181
// route is protected by TC Login
182
// send to login/register with proper retUrl set
0 commit comments