adds more tests signing out session

This commit is contained in:
bergquist
2019-01-31 22:24:04 +01:00
parent 88ca54eba9
commit 91bd908e03
2 changed files with 28 additions and 9 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ func (s *UserAuthTokenServiceImpl) InitContextWithToken(ctx *models.ReqContext,
func (s *UserAuthTokenServiceImpl) writeSessionCookie(ctx *models.ReqContext, value string, maxAge int) {
if setting.Env == setting.DEV {
ctx.Logger.Info("new token", "unhashed token", value)
ctx.Logger.Debug("new token", "unhashed token", value)
}
ctx.Resp.Header().Del("Set-Cookie")