benadida / helios-server

Helios server
http://heliosvoting.org
Apache License 2.0
731 stars 350 forks source link

Deleting password voter fails #379

Open Cryptosaurus opened 1 year ago

Cryptosaurus commented 1 year ago

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.