feat(auth): update login routes and add WxWork login callback handling

This commit is contained in:
mlogclub
2026-04-24 11:35:29 +08:00
parent 5fa30d29ef
commit 7889ecb0d2
8 changed files with 22 additions and 15 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ func (c *AuthController) GetWxwork_callback() {
c.redirectWxWorkError(err.Error())
return
}
c.Ctx.Redirect("/login/wxwork/callback?ticket="+url.QueryEscape(ticket)+"&next="+url.QueryEscape(next), iris.StatusFound)
c.Ctx.Redirect("/dashboard/login/wxwork/callback?ticket="+url.QueryEscape(ticket)+"&next="+url.QueryEscape(next), iris.StatusFound)
}
func (c *AuthController) PostWxwork_exchange() *web.JsonResult {