You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if len(params) < 3 {
return false
}
for _, nap := range strings.Split(beego.AppConfig.String("not_auth_package"), ",") {
if params[1] == nap {
return false
}
}
return true
}
The text was updated successfully, but these errors were encountered:
//Determine whether need to verify
func CheckAccess(params []string) bool {
//1、跟URL长度什么关系?router中只有/public/index等4个url符合这个条件,意思是这四个都是登陆相关的操作,所以不需要做认证?
//2、这个认证不是指的登陆时候的用户名、密码的验证吧?
//3、服务部署起来后,数据库里面是空的,怎么login,会一直返回用户不存在,没有注册页面么?
}
The text was updated successfully, but these errors were encountered: