FARM-Auth icon indicating copy to clipboard operation
FARM-Auth copied to clipboard

def "generate_jwt" is called with the parameters in the wrong order

Open opaniagu opened this issue 4 years ago • 0 comments

apps/user/auth.py

.... return generate_jwt(data, self.lifetime_seconds, self.secret, JWT_ALGORITHM)

must be:

return generate_jwt(data, self.secret, self.lifetime_seconds, JWT_ALGORITHM)

opaniagu avatar May 18 '21 21:05 opaniagu