mirror of
https://github.com/pretix/pretix.git
synced 2026-05-09 15:54:03 +00:00
Fix missing encoding
This commit is contained in:
@@ -212,7 +212,7 @@ class Order(LockModel, LoggedModel):
|
|||||||
self.delete()
|
self.delete()
|
||||||
|
|
||||||
def email_confirm_hash(self):
|
def email_confirm_hash(self):
|
||||||
return hashlib.sha256(settings.SECRET_KEY + self.secret.encode()).hexdigest()[:9]
|
return hashlib.sha256(settings.SECRET_KEY.encode() + self.secret.encode()).hexdigest()[:9]
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def fees(self):
|
def fees(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user