pixelant/interest

[BUG] Only tokens with expiry zero can be used

mabolek opened this issue · 0 comments

Describe the bug

When creating an authentication token, it will only be accepted if the expiry is zero.

To Reproduce

Generate a token according to the manual. Authenticating with this token will not work.

Set the token's expiry to zero in the database. Authentication will work.

Expected behavior

Authentication with the token should work also without setting expiry to zero.