Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nuages
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etch
nuages
Commits
950b4f62
Commit
950b4f62
authored
May 20, 2013
by
Christophe Siraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix #925: clear cookie when new anonymous poll.
parent
7b0c2c39
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
meetingpoll/views.py
meetingpoll/views.py
+1
-0
No files found.
meetingpoll/views.py
View file @
950b4f62
...
...
@@ -29,6 +29,7 @@ def new(request):
return
HttpResponseRedirect
(
reverse
(
'choices'
,
args
=
(
str
(
poll
.
id
),)))
else
:
if
request
.
user
.
is_anonymous
():
request
.
session
.
clear
()
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
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment