flask-jwt icon indicating copy to clipboard operation
flask-jwt copied to clipboard

Setting JWT_VERIFY_EXPIRATION to false fails with UnboundLocalError

Open jimfulton opened this issue 10 years ago • 4 comments

Because result is only set in one branch in _default_decode_handler.

jimfulton avatar Jul 01 '15 15:07 jimfulton

New version should fix this. Can you please verify?

mattupstate avatar Oct 15 '15 15:10 mattupstate

It still doesn't work for me.

Which commit did you try to fix the problem? thx

xiaw61 avatar Nov 13 '15 19:11 xiaw61

In current code, we don't use JWT_VERIFY_EXPIRATION to set the expiration, right?

xiaw61 avatar Nov 13 '15 20:11 xiaw61

Apologies for not finding time to check this yet. :(

jimfulton avatar Nov 13 '15 20:11 jimfulton