diff --git a/bt5/erp5_authentication_policy/SkinTemplateItem/portal_skins/erp5_authentication_policy/Person_isLoginBlocked.xml b/bt5/erp5_authentication_policy/SkinTemplateItem/portal_skins/erp5_authentication_policy/Person_isLoginBlocked.xml index 9eecb65f7c0c80bde8e944e6dbab38e0a269b4ff..dbdc4b8a10f1a0d0199af801e96a365e9114873e 100644 --- a/bt5/erp5_authentication_policy/SkinTemplateItem/portal_skins/erp5_authentication_policy/Person_isLoginBlocked.xml +++ b/bt5/erp5_authentication_policy/SkinTemplateItem/portal_skins/erp5_authentication_policy/Person_isLoginBlocked.xml @@ -55,7 +55,6 @@ """\n Return true if user account is blocked.\n """\n -\n from DateTime import DateTime\n from Products.ZSQLCatalog.SQLCatalog import Query\n \n diff --git a/bt5/erp5_authentication_policy/SkinTemplateItem/portal_skins/erp5_authentication_policy/Person_isPasswordExpired.xml b/bt5/erp5_authentication_policy/SkinTemplateItem/portal_skins/erp5_authentication_policy/Person_isPasswordExpired.xml index de662aabc63d8df7986d5d619e4f074263546cbf..31837559be9fb177518f75d6f8f21fd316d746f3 100644 --- a/bt5/erp5_authentication_policy/SkinTemplateItem/portal_skins/erp5_authentication_policy/Person_isPasswordExpired.xml +++ b/bt5/erp5_authentication_policy/SkinTemplateItem/portal_skins/erp5_authentication_policy/Person_isPasswordExpired.xml @@ -83,7 +83,7 @@ def _isPasswordExpired():\n expire_date_warning = expire_date\n if expire_date < now:\n # password is expired\n - context.log(\'expired %s\' %context.getReference())\n + #context.log(\'expired %s\' %context.getReference())\n return True, expire_date_warning\n return False, expire_date_warning\n \n diff --git a/bt5/erp5_authentication_policy/bt/revision b/bt5/erp5_authentication_policy/bt/revision index dec2bf5d6199c7cd0d84f3dc1e76a73ccc336302..2edeafb09db0093bae6ff060e2dcd2166f5c9387 100644 --- a/bt5/erp5_authentication_policy/bt/revision +++ b/bt5/erp5_authentication_policy/bt/revision @@ -1 +1 @@ -19 \ No newline at end of file +20 \ No newline at end of file