Commits

Richard Jones committed b3b3836

fix for command-line password reset handler

Comments (0)

Files changed (1)

         url = self.config.url
         if url.startswith('http'):
             url = 'https' + url[4:]
-        info = dict(name=user['name'], url=url, otk=self._gen_reset_otk(user))
+        info = dict(name=user['name'], url=url, email=user['emai'],
+            otk=self._gen_reset_otk(user))
         info['admin'] = self.config.adminemail
         self.send_email(user['email'], password_change_message % info)
         self.write_template('message.pt', title="Request password reset",