mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 04:12:09 +08:00
rename Context to ReqContext
This commit is contained in:
@ -10,7 +10,7 @@ import (
|
||||
var renderKeysLock sync.Mutex
|
||||
var renderKeys map[string]*m.SignedInUser = make(map[string]*m.SignedInUser)
|
||||
|
||||
func initContextWithRenderAuth(ctx *m.Context) bool {
|
||||
func initContextWithRenderAuth(ctx *m.ReqContext) bool {
|
||||
key := ctx.GetCookie("renderKey")
|
||||
if key == "" {
|
||||
return false
|
||||
|
Reference in New Issue
Block a user