Commit 4fcaa434 authored by Rafael Monnerat's avatar Rafael Monnerat

Minor style changes.

parent 5df855a3
......@@ -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
......
20
\ No newline at end of file
21
\ No newline at end of file
Markdown is supported
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