summaryrefslogtreecommitdiff
path: root/webui.py
diff options
context:
space:
mode:
authorRichard Jones <richard@mechanicalcat.net>2013-02-15 14:19:55 +1100
committerRichard Jones <richard@mechanicalcat.net>2013-02-15 14:19:55 +1100
commit37458863b8b3db2e48a7d5c9b5109d34f1486cc3 (patch)
tree10b1234948f7fc9fcef6dda85a244db3d42ae616 /webui.py
parent0237644a75061df9f0d5b7b898c7c910a692b841 (diff)
downloaddecorator-37458863b8b3db2e48a7d5c9b5109d34f1486cc3.tar.gz
fix for command-line password reset handler
Diffstat (limited to 'webui.py')
-rw-r--r--webui.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/webui.py b/webui.py
index fc0b3a6..b26c479 100644
--- a/webui.py
+++ b/webui.py
@@ -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",