diff --git a/api/handlers.py b/api/handlers.py index 8f361d5..444c62b 100644 --- a/api/handlers.py +++ b/api/handlers.py @@ -7,7 +7,7 @@ class WhitelistHandler(AnonymousBaseHandler): def read(self, request, username=None): if username: try: - profile = MinecraftProfile.objects.get(mc_username__exact=username) + profile = MinecraftProfile.objects.get(mc_username__iexact=username) except Exception, e: return False return profile.user.is_active