send admin key after a vote

This commit is contained in:
Baptiste Lemoine 2020-01-24 12:06:59 +01:00
parent 6408adcb9d
commit 69ccb84832
1 changed files with 1 additions and 0 deletions

View File

@ -541,6 +541,7 @@ class DefaultController extends AbstractController {
'vote_stack' => $stack->display(),
'vote_count' => count( $poll->getStacksOfVotes() ),
'owner_modifier_token' => $foundOwner->getModifierToken(),
'admin_token' => $poll->getAdminKey(),
'json_you_sent' => $data,
],
201 );