Fixed another typo.

- Legacy-Id: 4818
This commit is contained in:
Henrik Levkowetz 2012-08-28 19:59:56 +00:00
parent ac3c8f0dff
commit 88ea94ca44

View file

@ -370,7 +370,7 @@ class AutoPostForm(forms.Form):
def save_new_draft_info(self):
salt = hashlib.sha1(str(random.random())).hexdigest()[:5]
self.draft.auth_key = hashlib.sha1(salt+self.cleaned_data['email']).hexdigest()
self.draft.status_id = WAITING_AUTHENTICATION
self.draft.status_id = AWAITING_AUTHENTICATION
self.draft.save()