aboutsummaryrefslogtreecommitdiff
path: root/rhodecode/model/user.py
diff options
context:
space:
mode:
authorMads Kiilerich <madski@unity3d.com>2013-04-03 17:19:47 +0200
committerMads Kiilerich <madski@unity3d.com>2013-04-03 17:19:47 +0200
commit22f713d07f09d47b8dec72d9f0f848e76f2baa49 (patch)
treeea224c2c730f7d74664bf72b0dd2b53d5c6325be /rhodecode/model/user.py
parentf151163590f68ec36da98d6a0ef4cc635b5f425a (diff)
Fix a lot of casings - use standard casing in most places
--HG-- branch : beta extra : source : 8586dddf9f86ac13d703c27cf52f93f0a53cc5bf
Diffstat (limited to 'rhodecode/model/user.py')
-rw-r--r--rhodecode/model/user.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rhodecode/model/user.py b/rhodecode/model/user.py
index 8e0acf8f..181aede4 100644
--- a/rhodecode/model/user.py
+++ b/rhodecode/model/user.py
@@ -229,7 +229,7 @@ class UserModel(BaseModel):
self.sa.flush()
# notification to admins
- subject = _('new user registration')
+ subject = _('New user registration')
body = ('New user registration\n'
'---------------------\n'
'- Username: %s\n'
@@ -331,7 +331,7 @@ class UserModel(BaseModel):
'reset_url': link})
log.debug('sending email')
run_task(tasks.send_email, user_email,
- _("password reset link"), body, body)
+ _("Password reset link"), body, body)
log.info('send new password mail to %s' % user_email)
else:
log.debug("password reset email %s not found" % user_email)