Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix admin preview mode and enhance verification logic #83

Merged
merged 6 commits into from
Jul 9, 2024

Conversation

antopalidi
Copy link
Collaborator

@antopalidi antopalidi commented May 23, 2024

  • Census check fix: The verification logic was updated to handle cases where users entered incorrect token to vote.
  • Admin preview mode fix: Fixed the preview mode logic to allow administrators to access the preview regardless of their inclusion in the census.

Tests:

  • Create an election with external census, run. Go to voting, enter incorrect token details, the message "The email or token is not valid. Please check these details and try again."
  • Create an election with external census, do not run. Go to the public page of the election, as admin, open preview mode. Preview mode should open a page with login and token form, then allow voting.
  • Create an election with internal census, do not run it. Go to the public page of the election, as admin, open preview mode. Preview mode should open the page with the first question and allow voting.

@antopalidi antopalidi requested a review from microstudi May 23, 2024 15:13
@antopalidi antopalidi self-assigned this May 23, 2024
@microstudi microstudi merged commit d0ce3fa into main Jul 9, 2024
3 checks passed
@microstudi microstudi deleted the fix/admin-preview-verification-checks branch November 14, 2024 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants