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
Open sidebar
Tomáš Peterka
erp5
Commits
4fcaa434
Commit
4fcaa434
authored
13 years ago
by
Rafael Monnerat
Browse files
Options
Download
Email Patches
Plain Diff
Minor style changes.
parent
5df855a3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/ERP5RunMyDocs_acquireSession.xml
...al_skins/erp5_run_my_doc/ERP5RunMyDocs_acquireSession.xml
+3
-1
bt5/erp5_run_my_doc/bt/revision
bt5/erp5_run_my_doc/bt/revision
+1
-1
No files found.
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/ERP5RunMyDocs_acquireSession.xml
View file @
4fcaa434
...
...
@@ -61,7 +61,9 @@ session_id = request.get(\'session_id\', None)\n
if session_id is None:\n
## first call so generate session_id and send back via cookie\n
session_id = \'erp5runmydocs_\' + context.REQUEST.other[\'AUTHENTICATED_USER\'].getUserName()\n
request.RESPONSE.setCookie(\'erp5_session_id\', session_id, expires=(now +expire_timeout_days).fCommon(), path=\'/\')\n
request.RESPONSE.setCookie(\'erp5_session_id\', \n
session_id, \n
expires=(now +expire_timeout_days).fCommon(), path=\'/\')\n
\n
if attribute is None or not attribute:\n
return context.portal_sessions[session_id]\n
...
...
This diff is collapsed.
Click to expand it.
bt5/erp5_run_my_doc/bt/revision
View file @
4fcaa434
20
\ No newline at end of file
21
\ No newline at end of file
This diff is collapsed.
Click to expand it.
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