Merge lp:~widelands-dev/widelands-website/cookies into lp:widelands-website
Proposed by
kaputtnik
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 501 | ||||
Proposed branch: | lp:~widelands-dev/widelands-website/cookies | ||||
Merge into: | lp:widelands-website | ||||
Diff against target: |
45 lines (+12/-1) 3 files modified
local_settings.py.sample (+1/-0) pybb/util.py (+4/-1) settings.py (+7/-0) |
||||
To merge this branch: | bzr merge lp:~widelands-dev/widelands-website/cookies | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
GunChleoc | Approve | ||
Review via email: mp+355939@code.launchpad.net |
Commit message
Use a session based csrf cookie; Fixed showing deleted username when quoting a post
Description of the change
Follow up from the deleted_user branch: When quoting a forum post the real username, instead of DELETED_USERNAME, was shown. This branch fixes this.
Use a session based csrf cookie, which means it will be deleted after closing the browser. I have tested several other cookie settings but i think this is the best for our needs.
To post a comment you must log in.
LGTM :)