diff --git a/django_etebase/token_auth/authentication.py b/django_etebase/token_auth/authentication.py index 8b1bca5..432c8cf 100644 --- a/django_etebase/token_auth/authentication.py +++ b/django_etebase/token_auth/authentication.py @@ -10,6 +10,7 @@ from .models import AuthToken, get_default_expiry AUTO_REFRESH = True MIN_REFRESH_INTERVAL = 60 + class TokenAuthentication(DRFTokenAuthentication): keyword = 'Token' model = AuthToken