mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2024-12-02 05:43:44 +03:00
Update dj_rest_auth/urls.py
Co-Authored-By: Daniele Tricoli <eriol@mornie.org>
This commit is contained in:
parent
d882edcf10
commit
17e9230497
|
@ -18,7 +18,7 @@ urlpatterns = [
|
|||
name='rest_password_change'),
|
||||
]
|
||||
|
||||
if getattr(settings, 'REST_USE_JWT', True):
|
||||
if getattr(settings, 'REST_USE_JWT', False):
|
||||
from rest_framework_simplejwt.views import (
|
||||
TokenRefreshView, TokenVerifyView,
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user