[gen] Add param Config.activateForgotPassword to allow to disable this functionality for sites where the email of users may be unknown.

This commit is contained in:
Gaetan Delannay 2012-07-27 11:01:35 +02:00
parent b2e1e8c780
commit 47cd8ee277
5 changed files with 11 additions and 3 deletions

View file

@ -728,6 +728,7 @@ class ZopeGenerator(Generator):
repls['languageSelector'] = self.config.languageSelector
repls['sourceLanguage'] = self.config.sourceLanguage
repls['ogone'] = repr(self.config.ogone)
repls['activateForgotPassword'] = self.config.activateForgotPassword
self.copyFile('config.pyt', repls, destName='config.py')
def generateInit(self):