Skip to content

Commit 14ea578

Browse files
committed
!TOS when forbidden Bug LREN-CHUV#133
1 parent 4d70eaa commit 14ea578

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/Explore/Container.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,15 @@ export default ({
7777
if (
7878
!apiUser.state.loading &&
7979
apiUser.state.authenticated &&
80+
!apiUser.state.forbidden &&
8081
!apiUser.state.agreeNDA
8182
) {
8283
history.push('/tos');
8384
}
8485
}, [
8586
apiUser.state.agreeNDA,
8687
apiUser.state.authenticated,
88+
apiUser.state.forbidden,
8789
apiUser.state.loading,
8890
history
8991
]);

0 commit comments

Comments
 (0)