aa
This commit is contained in:
@@ -92,7 +92,7 @@ func (c *Auth2Controller) Login() {
|
||||
} else if params.AuthType == auth2.AuthTypeEmail {
|
||||
params.AuthIDType = auth2.UserIDEmail
|
||||
}
|
||||
if params.AuthType == weixin.AuthTypeMini {
|
||||
if params.AuthType == weixin.AuthTypeMini || params.AuthType == weixin.AuthTypeWxApp {
|
||||
params.AuthSecret = GetComposedCode(&c.Controller, params.AuthSecret)
|
||||
}
|
||||
ctx := auth2.NewContext(c.Ctx.ResponseWriter, c.Ctx.Request)
|
||||
|
||||
Reference in New Issue
Block a user