Browse Source

postkey/admin.py: don't require unique hash when changing host

This check makes editing completely impossible.
pull/1/head
Hidden Z 14 years ago
parent
commit
da92902739
  1. 2
      pyi2phosts/postkey/admin.py

2
pyi2phosts/postkey/admin.py

@ -22,7 +22,7 @@ class i2phostAdminForm(forms.ModelForm): @@ -22,7 +22,7 @@ class i2phostAdminForm(forms.ModelForm):
def clean_b64hash(self):
"""Validate base64 hash"""
data = self.cleaned_data['b64hash']
data = validate_b64hash(data)
data = validate_b64hash(data, check_uniq=False)
return data

Loading…
Cancel
Save