Skip to content

Commit

Permalink
Removing voter id textbox if voter access is open
Browse files Browse the repository at this point in the history
  • Loading branch information
mikefranze committed Jul 13, 2024
1 parent 982804d commit f89d2b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/frontend/src/components/Election/VoterAuth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const VoterAuth = () => {

const isOpen = election.state === "open"

const voterIdRequired = election.settings?.voter_authentication?.voter_id
const voterIdRequired = election.settings?.voter_authentication?.voter_id && election.settings.voter_access === 'closed'
const emailRequired = election.settings?.voter_authentication?.email

const isAuthorized = voterAuth?.authorized_voter
Expand Down

0 comments on commit f89d2b1

Please sign in to comment.