diff options
Diffstat (limited to 'api/oauth.go')
-rw-r--r-- | api/oauth.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/oauth.go b/api/oauth.go index 37ca5ce0a..30efbdce3 100644 --- a/api/oauth.go +++ b/api/oauth.go @@ -636,5 +636,5 @@ func CompleteSwitchWithOAuth(c *Context, w http.ResponseWriter, r *http.Request, return } - sendSignInChangeEmailAndForget(c, user.Email, c.GetSiteURL(), strings.Title(service)+" SSO") + go sendSignInChangeEmail(c, user.Email, c.GetSiteURL(), strings.Title(service)+" SSO") } |