Skip to content

Commit f7e0c83

Browse files
Merge pull request #6306 from topcoder-platform/inactive-member
Return 404 if member not ACTIVE
2 parents ca638f9 + ed37e71 commit f7e0c83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shared/containers/Profile.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class ProfileContainer extends React.Component {
9696
handleParam,
9797
} = this.props;
9898

99-
if (loadingError) {
99+
if (loadingError || (info && info.status !== 'ACTIVE')) {
100100
return <Error404 />;
101101
}
102102

0 commit comments

Comments
 (0)