stages/identification: revert is_active check (#5183)

This commit is contained in:
Jens L 2023-04-05 15:49:35 +02:00 committed by GitHub
parent f84c176bd0
commit 711e98d049
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -172,7 +172,7 @@ class IdentificationStageView(ChallengeStageView):
if not query: if not query:
self.logger.debug("Empty user query", query=query) self.logger.debug("Empty user query", query=query)
return None return None
user = User.objects.filter(query, is_active=True).first() user = User.objects.filter(query).first()
if user: if user:
self.logger.debug("Found user", user=user.username, query=query) self.logger.debug("Found user", user=user.username, query=query)
return user return user