change UserToken from interface to struct

This commit is contained in:
Marcus Efraimsson
2019-02-06 16:30:50 +01:00
parent 85ef2ca738
commit a60124a88c
10 changed files with 244 additions and 215 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ import (
type ReqContext struct {
*macaron.Context
*SignedInUser
UserToken auth.UserToken
UserToken *auth.UserToken
// This should only be used by the auth_proxy
Session session.SessionStore