Commit 04de739f authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

erp5_base: reset Person.password when migrated to ERP5 Login.

parent f797e47b
......@@ -17,4 +17,5 @@ def checkPersonLoginExistenceConsistency(self, fixit=False):
)
login._setEncodedPassword(self.getPassword())
login.validate()
self._setEncodedPassword(None)
return ['%s has no Login type sub document.' % self.getRelativeUrl()]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment