fix anon join/rematch (cookie must not be HTTP only!)
This commit is contained in:
parent
953cad3f62
commit
685b501eef
|
@ -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 =>
|
||||
|
|
|
@ -203,6 +203,6 @@ object Setup extends LilaController with TheftPrevention {
|
|||
AnonCookie.name,
|
||||
pov.playerId,
|
||||
maxAge = AnonCookie.maxAge.some,
|
||||
httpOnly = true.some)
|
||||
httpOnly = false.some)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue