mirror of
https://github.com/casdoor/casdoor.git
synced 2025-05-24 08:20:31 +08:00
Override session when signed in by link.
This commit is contained in:
parent
8e5f3c18e1
commit
30bed3cb47
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user