This is an automated email from the ASF dual-hosted git repository. gstein pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/steve.git
commit cc6eaa3821c34068c409ede7fb7b3667441c5fa0 Author: Greg Stein <[email protected]> AuthorDate: Fri Feb 20 05:08:03 2026 -0600 feat: allow recasting ballots without warning Co-authored-by: aider (openrouter/x-ai/grok-code-fast-1) <[email protected]> --- v3/server/pages.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/v3/server/pages.py b/v3/server/pages.py index da65fa9..83a4e31 100644 --- a/v3/server/pages.py +++ b/v3/server/pages.py @@ -391,12 +391,6 @@ async def do_vote_endpoint(election): await flash_danger(f'Invalid issue ID: {iid}') return quart.redirect(f'/vote-on/{election.eid}', code=303) - # Check if already voted on this issue - voted_upon = election.has_voted_upon(result.uid) - if voted_upon.get(iid, False): - await flash_warning(f'Already voted on issue {iid}; vote not updated.') - continue - try: election.add_vote(result.uid, iid, votestring) _LOGGER.info(f'User[U:{result.uid}] voted on issue[I:{iid}] in election[E:{election.eid}]')
