Skip to content

Commit

Permalink
update auth rule
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangbiao committed Sep 24, 2019
1 parent 5a6f74f commit 4a8afdc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion gtoken/gtoken.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,11 @@ func (m *GfToken) Init() bool {
return false
}

return true
if r.IsAjaxRequest() {
return true
}

return false
}
}
if m.AuthAfterFunc == nil {
Expand Down

0 comments on commit 4a8afdc

Please sign in to comment.