Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit 0b00c74

Browse files
committed
no need to validate subjet
1 parent a1a3b36 commit 0b00c74

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/java/main/com/topcoder/direct/services/view/interceptors/AuthenticationInterceptor.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -310,10 +310,6 @@ public String intercept(ActionInvocation invocation) throws Exception {
310310
return loginPageName;
311311
}
312312

313-
if (jwtToken.getSubject() == null) {
314-
return loginPageName;
315-
}
316-
317313
if (user != null && !user.isAnonymous()) {
318314
// get user roles for the user id
319315
Set<TCPrincipal> roles = DirectUtils.getUserRoles(user.getId());

0 commit comments

Comments
 (0)