Redef the VerifySerializer
This commit is contained in:
parent
d0a3cdce52
commit
1b42652bd6
1 changed files with 3 additions and 3 deletions
|
@ -74,9 +74,9 @@ class TokenSerializer(serializers.Serializer):
|
|||
realm_name = 'realm'
|
||||
|
||||
def save(self):
|
||||
token_in = self.validated_data.get('token')
|
||||
name_in = self.validated_data.get('name')
|
||||
realm_in = self.validated_data.get('realm')
|
||||
token_in = self.validated_data.get(self.token_name)
|
||||
name_in = self.validated_data.get(self.name_name)
|
||||
realm_in = self.validated_data.get(self.realm_name)
|
||||
|
||||
# 1. Verify that the connection might authenticate
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue