mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2024-12-02 13:53:43 +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'),
|
name='rest_password_change'),
|
||||||
]
|
]
|
||||||
|
|
||||||
if getattr(settings, 'REST_USE_JWT', True):
|
if getattr(settings, 'REST_USE_JWT', False):
|
||||||
from rest_framework_simplejwt.views import (
|
from rest_framework_simplejwt.views import (
|
||||||
TokenRefreshView, TokenVerifyView,
|
TokenRefreshView, TokenVerifyView,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user