fix anon join/rematch (cookie must not be HTTP only!)

This commit is contained in:
Thibault Duplessis 2016-02-20 12:17:25 +07:00
parent 953cad3f62
commit 685b501eef
2 changed files with 2 additions and 2 deletions

View file

@ -81,7 +81,7 @@ object Challenge extends LilaController {
AnonCookie.name,
game.player(owner.fold(c.finalColor, !c.finalColor)).id,
maxAge = AnonCookie.maxAge.some,
httpOnly = true.some)
httpOnly = false.some)
}
}
} map { cookieOption =>

View file

@ -203,6 +203,6 @@ object Setup extends LilaController with TheftPrevention {
AnonCookie.name,
pov.playerId,
maxAge = AnonCookie.maxAge.some,
httpOnly = true.some)
httpOnly = false.some)
}
}