Skip to content

Commit

Permalink
bug fixed fot get_protect_key
Browse files Browse the repository at this point in the history
  • Loading branch information
imankarimi committed Apr 16, 2022
1 parent 3501305 commit abf141b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion auth_protection/authentications.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from rest_framework_simplejwt.authentication import JWTAuthentication
from rest_framework_simplejwt.exceptions import InvalidToken

from utils import get_protect_key
from auth_protection.utils import get_protect_key


class JWTAuthProtection(JWTAuthentication):
Expand Down
2 changes: 1 addition & 1 deletion auth_protection/serializers.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from rest_framework_simplejwt.serializers import TokenObtainPairSerializer

from utils import get_protect_key
from auth_protection.utils import get_protect_key


class ProtectTokenObtainPairSerializer(TokenObtainPairSerializer):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

setup(
name='django-auth-protection',
version='1.0.1',
version='1.0.2',
zip_safe=False,
packages=find_packages(),
include_package_data=True,
Expand Down

0 comments on commit abf141b

Please sign in to comment.