Fix middleware unused AuthenticationFailed (#1339)

Simply remove an unused import that is failing linters.
This commit is contained in:
jerry 2024-06-17 21:15:25 +00:00 committed by GitHub
parent 997e9aeacc
commit b3622420f4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,7 +8,6 @@ from django.utils import timezone
from django.utils.deprecation import MiddlewareMixin
from django.http import JsonResponse
from rest_framework.authtoken.models import Token
from rest_framework.exceptions import AuthenticationFailed
from api.nick_generator.nick_generator import NickGenerator
from api.utils import base91_to_hex, hex_to_base91, is_valid_token, validate_pgp_keys