Skip to content

Commit

Permalink
Security controller fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
joekurta committed Sep 1, 2015
1 parent 738a536 commit 91c2103
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Controller/SecurityController.php
Expand Up @@ -55,7 +55,7 @@ public function userLoginAction(Request $request, $activateHash)
$expires = time() + 60*60*24*183;
$value = $this->generateCookieValue(get_class($user), $user->getUsername(), $expires, $user->getPassword());

$return = $this->redirect($this->generateUrl(/*user_landing*/'question', array('event_id' => '2')));
$return = $this->redirect($this->generateUrl(/*user_landing*/'question', array('event_id' => '17')));
$return->headers->setCookie(new Cookie('userEditEnabled', '1', time()+60*60*24*90));

$presentations = $this->getDoctrine()->getRepository('LiveVotingBundle:Presentation')->findByUser($user);
Expand Down

0 comments on commit 91c2103

Please sign in to comment.