summaryrefslogtreecommitdiffstats
path: root/routers/admin/users.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/admin/users.go')
-rw-r--r--routers/admin/users.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/admin/users.go b/routers/admin/users.go
index 2d40a883af..e3f5692030 100644
--- a/routers/admin/users.go
+++ b/routers/admin/users.go
@@ -154,7 +154,7 @@ func NewUserPost(ctx *context.Context) {
// Send email notification.
if form.SendNotify {
- mailer.SendRegisterNotifyMail(ctx.Locale, u)
+ mailer.SendRegisterNotifyMail(u)
}
ctx.Flash.Success(ctx.Tr("admin.users.new_success", u.Name))