Commit ff336b6a authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_authentication_policy: never expire password

parent fa3cec01
...@@ -2,6 +2,10 @@ ...@@ -2,6 +2,10 @@
Returns if user account is Person's password is expired. Returns if user account is Person's password is expired.
Start password recovery process for expired password (if configured). Start password recovery process for expired password (if configured).
""" """
# we never expire password in nexedi
# just return to call less
return False
portal = context.getPortalObject() portal = context.getPortalObject()
is_password_expired = False is_password_expired = False
expire_date_warning = 0 expire_date_warning = 0
......
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