django-rest-framework-passwordless
django-rest-framework-passwordless copied to clipboard
Allow demo users' static pin mapped to email and mobile
In many environments a user with same email/mobile can be deleted and created again, changing its pk. So adding two new settings PASSWORDLESS_DEMO_USERS_EMAIL and PASSWORDLESS_DEMO_USERS_MOBILE to map the email and phone numbers directly to a static pin.