Override session when signed in by link.

This commit is contained in:
Yang Luo 2021-06-10 13:27:03 +08:00
parent 8e5f3c18e1
commit 30bed3cb47

View File

@ -54,9 +54,9 @@ func returnRequest(ctx *context.Context, msg string) {
}
func AutoLoginFilter(ctx *context.Context) {
if getSessionUser(ctx) != "" {
return
}
//if getSessionUser(ctx) != "" {
// return
//}
query := ctx.Request.URL.RawQuery
queryMap, err := url.ParseQuery(query)