benadida / helios-server

Helios server

Home Page:http://heliosvoting.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deleting password voter fails

Cryptosaurus opened this issue · comments

In the voter list there is an option to delete a voter. However, this fails for voters of type password if they have already voted.

The problem is that voter.user is not defined for a password voter, so that sending the email with voter.user.send_message fails. #377 fixes it using voter.send_message.