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

multiple votes as same user possible #63

Open
sh0xy opened this issue Apr 20, 2023 · 2 comments
Open

multiple votes as same user possible #63

sh0xy opened this issue Apr 20, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@sh0xy
Copy link

sh0xy commented Apr 20, 2023

Context

A user can click the submit button as often as the user wants. There is no limitation.

Steps to Reproduce

Steps to reproduce the behavior:

  1. click the submit button
  2. click the submit button again
  3. click the submit button another time
  4. -> vote is duplicated three times

Expected result

error message that you already voted once

Actual result

same vote is applied again, and again, and again

Possible Fix

disable multi vote on the same user (same id)

References

grafik

@sh0xy sh0xy added the bug Something isn't working label Apr 20, 2023
@Morphclue
Copy link
Owner

This is currently acceptable behavior, as it may be that the admin requests multiple votes. However, I agree that there should be an option that limits this behavior. So another limit in the settings "Maximum number of participations" would make sense. Maybe a behavior that clears the current selection and the textfield after a submit would also make sense, so that spamming is discouraged.

@Sauhard74
Copy link

hey i would like to contribute to this repo , can I get assigned to it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Backlog
Development

No branches or pull requests

3 participants