fixes
This commit is contained in:
1 parent
27f4885a30
commit
93a145b561
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -6,7 +6,7 @@ plugins {
|
|||||||
}
|
}
|
||||||
|
|
||||||
group = 'site.easy-startup'
|
group = 'site.easy-startup'
|
||||||
version = '0.0.8'
|
version = '0.0.9'
|
||||||
sourceCompatibility = "17"
|
sourceCompatibility = "17"
|
||||||
|
|
||||||
configurations {
|
configurations {
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ public class JWTFilter extends OncePerRequestFilter {
|
|||||||
}
|
}
|
||||||
} catch (JWTVerificationException ex) {
|
} catch (JWTVerificationException ex) {
|
||||||
response.sendError(HttpServletResponse.SC_BAD_REQUEST, " Invalid JWT token");
|
response.sendError(HttpServletResponse.SC_BAD_REQUEST, " Invalid JWT token");
|
||||||
}
|
} catch(UsernameNotFoundException ignored) {} //TODO untag this filter from signup request
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
filterChain.doFilter(request, response);
|
filterChain.doFilter(request, response);
|
||||||
|
|||||||
Reference in new issue
Block a user