diff --git a/business/auth2/auth2.go b/business/auth2/auth2.go index 6b7ce94da..da46bbc13 100644 --- a/business/auth2/auth2.go +++ b/business/auth2/auth2.go @@ -285,7 +285,7 @@ func Login(ctx *Context, authType, authID, authIDType, authSecret string) (authI if authSecret == InternalAuthSecret { authSecret = "" } - return LoginInternal(ctx, authIDType, authID, authIDType, authSecret) + return LoginInternal(ctx, authType, authID, authIDType, authSecret) } // 通过临时TOKEN绑定新创建的用户