Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Leo Le Bouter
erp5
Commits
d0d1cd5f
Commit
d0d1cd5f
authored
Sep 08, 2011
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove logging.
parent
cf25d945
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
+2
-3
bt5/erp5_authentication_policy/SkinTemplateItem/portal_skins/erp5_authentication_policy/Person_isLoginBlocked.xml
...kins/erp5_authentication_policy/Person_isLoginBlocked.xml
+0
-1
bt5/erp5_authentication_policy/SkinTemplateItem/portal_skins/erp5_authentication_policy/Person_isPasswordExpired.xml
...s/erp5_authentication_policy/Person_isPasswordExpired.xml
+1
-1
bt5/erp5_authentication_policy/bt/revision
bt5/erp5_authentication_policy/bt/revision
+1
-1
No files found.
bt5/erp5_authentication_policy/SkinTemplateItem/portal_skins/erp5_authentication_policy/Person_isLoginBlocked.xml
View file @
d0d1cd5f
...
@@ -55,7 +55,6 @@
...
@@ -55,7 +55,6 @@
"""\n
"""\n
Return true if user account is blocked.\n
Return true if user account is blocked.\n
"""\n
"""\n
\n
from DateTime import DateTime\n
from DateTime import DateTime\n
from Products.ZSQLCatalog.SQLCatalog import Query\n
from Products.ZSQLCatalog.SQLCatalog import Query\n
\n
\n
...
...
bt5/erp5_authentication_policy/SkinTemplateItem/portal_skins/erp5_authentication_policy/Person_isPasswordExpired.xml
View file @
d0d1cd5f
...
@@ -83,7 +83,7 @@ def _isPasswordExpired():\n
...
@@ -83,7 +83,7 @@ def _isPasswordExpired():\n
expire_date_warning = expire_date\n
expire_date_warning = expire_date\n
if expire_date
< now:
\n
if expire_date
< now:
\n
#
password
is
expired\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
True,
expire_date_warning\n
return
False,
expire_date_warning\n
return
False,
expire_date_warning\n
\n
\n
...
...
bt5/erp5_authentication_policy/bt/revision
View file @
d0d1cd5f
19
20
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment