set email=None during anonymize
This commit is contained in:
Родитель
97cbff0a58
Коммит
e32c5d2fe2
|
@ -152,7 +152,7 @@ class UserProfile(amo.models.ModelBase):
|
|||
|
||||
def anonymize(self):
|
||||
log.info(u"User (%s: <%s>) is being anonymized." % (self, self.email))
|
||||
self.email = ""
|
||||
self.email = None
|
||||
self.password = "sha512$Anonymous$Password"
|
||||
self.firstname = ""
|
||||
self.lastname = ""
|
||||
|
|
Загрузка…
Ссылка в новой задаче