Skip to content

Commit f82a388

Browse files
committed
Make keys in kitspace session lower case
1 parent 0cf78e1 commit f82a388

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

routers/kitspace.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ import (
1818
)
1919

2020
type KitspaceSession struct {
21-
User *structs.User
22-
Csrf string
21+
User *structs.User `json:"user"`
22+
Csrf string `json:"_csrf"`
2323
}
2424

2525
func Kitspace(ctx *context.Context, sess session.Store, x csrf.CSRF) (int, []byte) {

0 commit comments

Comments
 (0)