Skip to content
Snippets Groups Projects
Commit 0aa9817e authored by Felix Sidokhine's avatar Felix Sidokhine
Browse files

removed a bunch of useless things

parent c80b741f
No related branches found
No related tags found
No related merge requests found
...@@ -59,7 +59,7 @@ public class ApiFilter implements Filter { ...@@ -59,7 +59,7 @@ public class ApiFilter implements Filter {
if(signedJWT.verify(jwsVerifier) && verifyValidity(signedJWT)){ if(signedJWT.verify(jwsVerifier) && verifyValidity(signedJWT)){
authsuccess = true; authsuccess = true;
request.setAttribute("username",signedJWT.getJWTClaimsSet().getSubject()); request.setAttribute("username",signedJWT.getJWTClaimsSet().getSubject());
if(signedJWT.getJWTClaimsSet().getClaim("oneTimePassword"){ if((Boolean) signedJWT.getJWTClaimsSet().getClaim("oneTimePassword")){
//TODO: use redirect to enforce the /changepassword url or something. //TODO: use redirect to enforce the /changepassword url or something.
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment