Skip to content

Commit ffa4393

Browse files
authored
Merge pull request #7130 from topcoder-platform/v6-hotfixes
add debug logs
2 parents 3cbf3a5 + e640124 commit ffa4393

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/shared/containers/tc-communities/Loader.jsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,10 @@ class Loader extends React.Component {
103103
// to see the "Public Site" on Zurich
104104
if (communityId === 'zurich') return Community({ member, meta });
105105
// All other get the not authorized page
106+
107+
console.log('Rendering Access Denied - Not Authenticated for !visitorGroups');
108+
console.loglog(visitorGroups, meta, communityId, member);
109+
106110
return (
107111
<AccessDenied
108112
cause={ACCESS_DENIED_REASON.NOT_AUTHENTICATED}
@@ -126,6 +130,9 @@ class Loader extends React.Component {
126130
return Community({ member, meta });
127131
}
128132

133+
console.log('Rendering Access Denied - Not Authenticated');
134+
console.loglog(visitorGroups, meta, communityId, member);
135+
129136
/* Visitor is not authorized to access this community. */
130137
return (
131138
<AccessDenied

0 commit comments

Comments
 (0)