Commit 3d7d619a authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fix a typo in security declaration.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13062 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e3a35127
......@@ -1003,7 +1003,7 @@ class SelectionTool( UniqueObject, SimpleItem ):
signature_cookie_name = cookie_name + '_signature'
request.RESPONSE.setCookie(signature_cookie_name,signature,max_age=15*60)
security.declareProtected(ERP5Permissions.View, 'registerCookieInfo')
security.declareProtected(ERP5Permissions.View, 'getCookieInfo')
def getCookieInfo(self,request,cookie_name):
"""
get info directly from cookie
......
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