diff --git a/otpauth/serializer.py b/otpauth/serializer.py index 691e5a5..7aaaf51 100644 --- a/otpauth/serializer.py +++ b/otpauth/serializer.py @@ -34,11 +34,11 @@ class TokenSerializer(serializers.Serializer): auth_realm = self.validated_data.get(self.realm_name) # only 2 special realms can login - if not auth_realm in ["ungleich-admin", "ungleich-auth" ]: - logger.error("Auth-realm is neither ungleich-admin " - "nor ungleich-auth".format() - ) - raise exceptions.AuthenticationFailed() + # if not auth_realm in ["ungleich-admin", "ungleich-auth" ]: + # logger.error("Auth-realm is neither ungleich-admin " + # "nor ungleich-auth".format() + # ) + # raise exceptions.AuthenticationFailed() logger.debug("auth: [{}]{}@'{}' {} + {})".format( self.name_name, auth_name, auth_realm,