Switch to signed cookie auth and stop leaking player IDs
This commit is contained in:
@@ -147,7 +147,7 @@ export function renderVotes() {
|
||||
state.myVotes.map((v) => [v.suggestionId, v.score]),
|
||||
);
|
||||
sortByName(state.allSuggestions).forEach((s) => {
|
||||
const canEdit = !!state.me?.isAdmin || s.playerId === state.me?.id;
|
||||
const canEdit = !!state.me?.isAdmin || s.isOwner;
|
||||
const lockTitle = state.phase !== "Suggest" && !state.me?.isAdmin;
|
||||
const li = buildCard(s, {
|
||||
showAuthor: true,
|
||||
|
||||
Reference in New Issue
Block a user