diff options
Diffstat (limited to 'api4')
-rw-r--r-- | api4/user.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/api4/user.go b/api4/user.go index 165e5aa9a..f82a6e3d5 100644 --- a/api4/user.go +++ b/api4/user.go @@ -13,7 +13,6 @@ import ( "github.com/mattermost/mattermost-server/app" "github.com/mattermost/mattermost-server/model" "github.com/mattermost/mattermost-server/store" - "github.com/mattermost/mattermost-server/utils" ) func (api *API) InitUser() { @@ -894,7 +893,7 @@ func sendPasswordReset(c *Context, w http.ResponseWriter, r *http.Request) { return } - if sent, err := c.App.SendPasswordReset(email, utils.GetSiteURL()); err != nil { + if sent, err := c.App.SendPasswordReset(email, c.App.GetSiteURL()); err != nil { c.Err = err return } else if sent { |