Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5-Boxiang
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
Hamza
erp5-Boxiang
Commits
1a0c3d3d
Commit
1a0c3d3d
authored
Jun 17, 2013
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not duplicate superclass' code.
parent
5b1fb6a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
product/ERP5/Tool/PasswordTool.py
product/ERP5/Tool/PasswordTool.py
+1
-4
No files found.
product/ERP5/Tool/PasswordTool.py
View file @
1a0c3d3d
...
...
@@ -61,11 +61,8 @@ class PasswordTool(BaseTool):
_expiration_day
=
1
def
__init__
(
self
,
id
=
None
):
if
id
is
None
:
id
=
self
.
__class__
.
id
super
(
PasswordTool
,
self
).
__init__
(
id
)
self
.
_password_request_dict
=
OOBTree
()
# XXX no call to BaseTool.__init__ ?
# BaseTool.__init__(self, id)
security
.
declareProtected
(
'Manage users'
,
'getResetPasswordKey'
)
def
getResetPasswordKey
(
self
,
user_login
,
expiration_date
=
None
):
...
...
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