Commit 950b4f62 authored by Christophe Siraut's avatar Christophe Siraut
Browse files

Fix #925: clear cookie when new anonymous poll.

parent 7b0c2c39
......@@ -29,6 +29,7 @@ def new(request):
return HttpResponseRedirect(reverse('choices', args=(str(,)))
if request.user.is_anonymous():
messages.warning(request, _('You are not logged so you will not be able to modify your poll after creation or recieve notifications.'))
form = PollForm()
return render_to_response(
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment