conclurer / midnightboard

University Project for the development of a digital notice board.
https://www.uni-ulm.de/in/fakultaet/studium/inf-mi/studienplanung-se/apse/
MIT License
1 stars 3 forks source link

Bug: You can vote multiple times as the same user #253

Closed wasdJens closed 4 years ago

wasdJens commented 4 years ago

Describe the bug

To Reproduce Create a poll. Vote once. Use the browser to refresh the page. Repeat

Screen Recording 2020-03-31 at 11 59 14 mov

Expected behavior To not mess up poll results users should only be allowed to vote once in a poll. After voting you should store the voted users id in the server.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

DevPhilB commented 4 years ago

Fix in PR #260 doesn't include any additional UI feedback, he can still click on the vote button but his vote doesn't count (is refused by the server).

wasdJens commented 4 years ago

he can still click on the vote button but his vote doesn't count (is refused by the server).

If possible direclty show the result page if the user has already voted