Commit ed790caf authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fixup! ERP5Security: Add a PAS plugin for ERP5 Login authentication.

parent 812c9c92
......@@ -106,7 +106,7 @@ class ERP5LoginUserManager(BasePlugin):
):
if is_authentication_policy_enabled:
login_value.notifyLoginFailure()
return
return
if is_authentication_policy_enabled:
if login_value.isPasswordExpired():
login_value.notifyPasswordExpire()
......
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