Fix middleware unused AuthenticationFailed

Simply remove an unused import that is failing linters.
This commit is contained in:
jerryfletcher21
2024-06-17 11:35:07 +02:00
parent 997e9aeacc
commit 35de63461d

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