Removing print.
This commit is contained in:
parent
a3247db273
commit
2c4ab6695e
|
@ -33,8 +33,6 @@ class ClientForm(ModelForm):
|
||||||
|
|
||||||
secret = ''
|
secret = ''
|
||||||
|
|
||||||
print self.cleaned_data
|
|
||||||
|
|
||||||
if instance and instance.pk:
|
if instance and instance.pk:
|
||||||
if (self.cleaned_data['client_type'] == 'confidential') and not instance.client_secret:
|
if (self.cleaned_data['client_type'] == 'confidential') and not instance.client_secret:
|
||||||
secret = md5(uuid4().hex.encode()).hexdigest()
|
secret = md5(uuid4().hex.encode()).hexdigest()
|
||||||
|
|
Loading…
Reference in a new issue