Closed leon-tnvm closed 3 years ago
The custom token generator was removed in 57277d287eb92c5d2abb7daf5dcbffbde91ceb6f. If someone provides a patch I could make a bug fix for the 1.x version, otherwise I'd recommend extending the backend class to override the token generator.
When calling check_token() on RegistrationTokenGenerator, an error is thrown because the function uses _num_days which does not exist on RegistrationTokeneGenerator or the base class PasswordResetTokenGenerator.
This is it, line 67-69 of organizations/backends/token.py:
Perhaps num_days was deprecated and this not updated?
This is on Python3.8 running django3.1 and django-organizations-1.1.2