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

authentication handler doesn't support empty passwords

Open shlomibs opened this issue 9 years ago • 0 comments

In _default_auth_request_handler() function, empty passwords are filtered out by the criterion = [username, password, len(data) == 2] list. This can be easily solved by changing the password criteria to password is not None

shlomibs avatar Sep 04 '16 14:09 shlomibs