benadida / helios-server

Helios server
http://heliosvoting.org
Apache License 2.0
721 stars 343 forks source link

Private elections are broken #312

Open joaomorenorf opened 3 years ago

joaomorenorf commented 3 years ago

I've tried to create a private election using master branch and using vote.heliosvoting.org, but both are broken. javascript is requesting 3 pages that are being denied with 302: get_randomness meta ^elections/(?P<election_uuid>[^/]+) The last one makes sense, blocking this json is exactly what a private election means.

Expected behavior: Be redirected to password_voter_login page and than be sent back to voting booth.

What is happening: Voting booth crashes during voting booth load. If you try to access password_voter_login directly with redirect_url pointing to voting booth. You can log in, but you are redirected to election main page after login.