diff options
Diffstat (limited to 'sessions.go')
-rw-r--r-- | sessions.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sessions.go b/sessions.go index b6db0e1..39930cf 100644 --- a/sessions.go +++ b/sessions.go @@ -116,7 +116,9 @@ type sessionInfo struct { type contextKey int // registryKey is the key used to store the registry in the context. -const registryKey contextKey = 0 +//const registryKey contextKey = 0 + +const registryKey = `webx:sessionsRegistry` // GetRegistry returns a registry instance for the current request. func GetRegistry(context echo.Context) *Registry { |