Skip to content
This repository was archived by the owner on Aug 13, 2022. It is now read-only.
This repository was archived by the owner on Aug 13, 2022. It is now read-only.

Function "Only one vote. No recurrence" is not working #7

@KratorD

Description

@KratorD

Zikula 1.3.10 and Polls 3.0.1
Select the option "Latest poll" in block options for this module. Select the option "Only one vote. No recurrence" for "How soon can a user vote for each poll?"
Register a vote from the block.
Logout user.
Login user.
The poll is showed again for register a new vote for your user.

The problem is that the module use "SessionUtil" for save if your user voted for a poll, but this variable is deleted when your user is logout. So, an user can vote in same poll with "logout", "login".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions