diff options
author | Chris <ccbrown112@gmail.com> | 2017-11-20 11:57:45 -0600 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2017-11-20 12:57:45 -0500 |
commit | 5cf45d21559eb4f8c69f57e9d50bcd4d00b9d430 (patch) | |
tree | 87e4513f933e956390dced4c14c766adeac1081f /api/user.go | |
parent | 7eb75093937076df0d7f95ab85b6d10b40383521 (diff) | |
download | chat-5cf45d21559eb4f8c69f57e9d50bcd4d00b9d430.tar.gz chat-5cf45d21559eb4f8c69f57e9d50bcd4d00b9d430.tar.bz2 chat-5cf45d21559eb4f8c69f57e9d50bcd4d00b9d430.zip |
refactor template code (#7860)
Diffstat (limited to 'api/user.go')
-rw-r--r-- | api/user.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/user.go b/api/user.go index f8cb1d855..5aba61e38 100644 --- a/api/user.go +++ b/api/user.go @@ -1040,7 +1040,7 @@ func updateMfa(c *Context, w http.ResponseWriter, r *http.Request) { return } - if err := app.SendMfaChangeEmail(user.Email, activate, user.Locale, utils.GetSiteURL()); err != nil { + if err := c.App.SendMfaChangeEmail(user.Email, activate, user.Locale, utils.GetSiteURL()); err != nil { l4g.Error(err.Error()) } }) |