Closed filipstojakovic closed 1 year ago
in findAllValidTokenByUser query last condition should be (t.expired = false and t.revoked = false) becouse we want them both not expired and not revoked
a token can be revoked or expired or both of them at the same time.
in findAllValidTokenByUser query last condition should be (t.expired = false and t.revoked = false) becouse we want them both not expired and not revoked