diff options
author | Richard Jones <richard@mechanicalcat.net> | 2013-02-15 14:19:55 +1100 |
---|---|---|
committer | Richard Jones <richard@mechanicalcat.net> | 2013-02-15 14:19:55 +1100 |
commit | 37458863b8b3db2e48a7d5c9b5109d34f1486cc3 (patch) | |
tree | 10b1234948f7fc9fcef6dda85a244db3d42ae616 /webui.py | |
parent | 0237644a75061df9f0d5b7b898c7c910a692b841 (diff) | |
download | decorator-37458863b8b3db2e48a7d5c9b5109d34f1486cc3.tar.gz |
fix for command-line password reset handler
Diffstat (limited to 'webui.py')
-rw-r--r-- | webui.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2745,7 +2745,8 @@ class WebUI: 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", |