From 2936dc87d074e6d83147c9e6cf4ae8bac4e4af8d Mon Sep 17 00:00:00 2001 From: Daniel Schalla Date: Thu, 2 Aug 2018 00:16:04 +0200 Subject: CSRF Token Implementation for Plugins (#9192) deleted test config fix test config Dont wipe the session token for plugins Simplified Tokens; Generate CSRF for other sessions Remove CSRF from Access Token; Remove Getter/Setter from Context fix removed setter remove getcsrf helper from plugin api enforce csrf only for cookie auth --- plugin/context.go | 1 + 1 file changed, 1 insertion(+) (limited to 'plugin/context.go') diff --git a/plugin/context.go b/plugin/context.go index 60d01bbe4..ec3f8b65e 100644 --- a/plugin/context.go +++ b/plugin/context.go @@ -7,4 +7,5 @@ package plugin // // It is currently a placeholder while the implementation details are sorted out. type Context struct { + SessionId string } -- cgit v1.2.3-1-g7c22