Skip to content

Commit

Permalink
Fixes #70 JwtVerifyHandler needs to handle properly the value returne…
Browse files Browse the repository at this point in the history
…d by the Config module
  • Loading branch information
ddobrin committed Jan 30, 2019
1 parent aeec8f3 commit 3b9ef88
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ public MiddlewareHandler setNext(final HttpHandler next) {
@Override
public boolean isEnabled() {
Object object = config.get(JwtHelper.ENABLE_VERIFY_JWT);
return object != null && (Boolean) object;
return object != null && Boolean.valueOf(object.toString()) ;
}

@Override
Expand Down

0 comments on commit 3b9ef88

Please sign in to comment.