Skip to content

Commit e640124

Browse files
committed
add debug logs
1 parent 016c561 commit e640124

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)