django-rest-framework-passwordless
django-rest-framework-passwordless copied to clipboard
Fix bug where demo tokens are not created
It looks like these lines are preventing the creation of new tokens with predefined keys so the current implementation doesn't work with existing users. This pull request simply removes those lines. https://github.com/aaronn/django-rest-framework-passwordless/blob/0a382e9809c5599a3b2b774453538abb5fe25361/drfpasswordless/utils.py#L43-L53