diff options
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 eb249cb39..0b2fbfba8 100644 --- a/api/user.go +++ b/api/user.go @@ -866,7 +866,7 @@ func emailToOAuth(c *Context, w http.ResponseWriter, r *http.Request) { return } - link, err := app.SwitchEmailToOAuth(email, password, mfaToken, service) + link, err := app.SwitchEmailToOAuth(w, r, email, password, mfaToken, service) if err != nil { c.Err = err return |