You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found an issue though, the code isn't currently compatible with the recent change to middleware in Django 1.10.
I'm sorry, I don't have time today to submit a pull request but to fix it, 1) add from django.utils.deprecation import MiddlewareMixin to the top of the middleware.py file and 2) change class JWTAuthMiddleware(object): to class JWTAuthMiddleware(MiddlewareMixin):. That's it. It should be backward compatible but I haven't had chance to test it.
The text was updated successfully, but these errors were encountered:
managai
added a commit
to manax-follow/asymmetric-jwt-auth
that referenced
this issue
May 20, 2017
Great work, Mr Weber.
I found an issue though, the code isn't currently compatible with the recent change to middleware in Django 1.10.
I'm sorry, I don't have time today to submit a pull request but to fix it, 1) add
from django.utils.deprecation import MiddlewareMixin
to the top of the middleware.py file and 2) changeclass JWTAuthMiddleware(object):
toclass JWTAuthMiddleware(MiddlewareMixin):
. That's it. It should be backward compatible but I haven't had chance to test it.The text was updated successfully, but these errors were encountered: