aaronn / django-rest-framework-passwordless

Passwordless Auth for Django REST Framework
MIT License
717 stars 155 forks source link

Slight change for dynamic token creator callback #83

Open va2ron1 opened 3 years ago

va2ron1 commented 3 years ago

I had a case where I needed to generate different tokens for certain types of users, so I moved out the value to a class variable so I can change it when I created a subclass of the view.