diff options
| author | 2020-02-26 18:20:19 +0100 | |
|---|---|---|
| committer | 2020-02-26 18:20:19 +0100 | |
| commit | f779f60b5376872043eda8c25712f0dd2a451a78 (patch) | |
| tree | e381eae4dda61579968416c55b0425d6602211c8 /tests/test_helpers.py | |
| parent | Check for falsy values instead of ``""` and `None` explicitly. (diff) | |
Fix comparison operator when checking token expiration.
With `<` the check only went through when the token was already expired, making revoking redundant; and didn't go through when the token still had some time before expiration.
Diffstat (limited to 'tests/test_helpers.py')
0 files changed, 0 insertions, 0 deletions