Commit 29b4903b authored by Ivan Tyagov's avatar Ivan Tyagov

When caching take into account the user otherwise cache becomes global for all users.

parent 0fdca03f
......@@ -88,7 +88,7 @@ def _isPasswordExpired():\n
return False, expire_date_warning\n
\n
_isPasswordExpired = CachingMethod(_isPasswordExpired,\n
id=\'Person_isPasswordExpired\',\n
id=\'Person_isPasswordExpired_%s\' %context.getReference(),\n
cache_factory=\'erp5_content_short\')\n
is_password_expired, expire_date = _isPasswordExpired()\n
\n
......
21
\ No newline at end of file
22
\ 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