mirror of
https://github.com/r4sas/py-i2phosts
synced 2025-01-22 20:44:55 +00:00
postkey/admin.py: don't require unique hash when changing host
This check makes editing completely impossible.
This commit is contained in:
parent
ffa053e1d3
commit
da92902739
@ -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…
x
Reference in New Issue
Block a user