Debug++
This commit is contained in:
parent
1b42652bd6
commit
0b73e1f5e0
1 changed files with 2 additions and 0 deletions
|
@ -78,6 +78,8 @@ class TokenSerializer(serializers.Serializer):
|
||||||
name_in = self.validated_data.get(self.name_name)
|
name_in = self.validated_data.get(self.name_name)
|
||||||
realm_in = self.validated_data.get(self.realm_name)
|
realm_in = self.validated_data.get(self.realm_name)
|
||||||
|
|
||||||
|
print("auth: {} {} {}".format(token_in, name_in, realm_in))
|
||||||
|
|
||||||
# 1. Verify that the connection might authenticate
|
# 1. Verify that the connection might authenticate
|
||||||
try:
|
try:
|
||||||
db_instance = otpauth.models.OTPSeed.objects.get(name=name_in, realm=realm_in)
|
db_instance = otpauth.models.OTPSeed.objects.get(name=name_in, realm=realm_in)
|
||||||
|
|
Loading…
Reference in a new issue