benadida / helios-server

Helios server

Home Page:http://heliosvoting.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Private elections are broken

joaomorenorf opened this issue · comments

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.