Skip to content
Snippets Groups Projects
Commit fd9eca1c authored by Ben Adida's avatar Ben Adida
Browse files

remove confusing characters from password generation, fixes #125

parent 5305ed38
No related branches found
No related tags found
No related merge requests found
...@@ -958,7 +958,7 @@ class Voter(HeliosModel): ...@@ -958,7 +958,7 @@ class Voter(HeliosModel):
if self.voter_password: if self.voter_password:
raise Exception("password already exists") raise Exception("password already exists")
self.voter_password = heliosutils.random_string(length, alphabet='abcdefghijkmnopqrstuvwxyzABCDEFGHIJKLMNPQRSTUVWXYZ23456789') self.voter_password = heliosutils.random_string(length, alphabet='abcdefghjkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ23456789')
def store_vote(self, cast_vote): def store_vote(self, cast_vote):
# only store the vote if it's cast later than the current one # only store the vote if it's cast later than the current one
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment