django-rest-framework-passwordless icon indicating copy to clipboard operation
django-rest-framework-passwordless copied to clipboard

Fix bug where demo tokens are not created

Open charleshan opened this issue 4 years ago • 0 comments

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

charleshan avatar Mar 31 '21 07:03 charleshan