Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
6880502f
Commit
6880502f
authored
Oct 21, 2005
by
Florent Guillaume
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Collector #1926: fixed a typo in _doAddUser when password encryption is
enabled.
parent
34f90ca8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
doc/CHANGES.txt
doc/CHANGES.txt
+7
-0
lib/python/AccessControl/User.py
lib/python/AccessControl/User.py
+1
-1
No files found.
doc/CHANGES.txt
View file @
6880502f
...
@@ -22,6 +22,13 @@ Zope Changes
...
@@ -22,6 +22,13 @@ Zope Changes
- Collector #1233: port ZOPE_CONFIG patch from Zope 2.7 to Zope 2.8
- Collector #1233: port ZOPE_CONFIG patch from Zope 2.7 to Zope 2.8
After Zope 2.8.3
Bugs Fixed
- Collector #1926: fixed a typo in _doAddUser when password
encryption is enabled.
Zope 2.8.3 (2005/10/18)
Zope 2.8.3 (2005/10/18)
Other
Other
...
...
lib/python/AccessControl/User.py
View file @
6880502f
...
@@ -1045,7 +1045,7 @@ class UserFolder(BasicUserFolder):
...
@@ -1045,7 +1045,7 @@ class UserFolder(BasicUserFolder):
def
_doAddUser
(
self
,
name
,
password
,
roles
,
domains
,
**
kw
):
def
_doAddUser
(
self
,
name
,
password
,
roles
,
domains
,
**
kw
):
"""Create a new user"""
"""Create a new user"""
if
password
is
not
None
and
self
.
encrypt_passwords
\
if
password
is
not
None
and
self
.
encrypt_passwords
\
and
not
self
.
_isPasswordEncrypted
(
p
w
):
and
not
self
.
_isPasswordEncrypted
(
p
assword
):
password
=
self
.
_encryptPassword
(
password
)
password
=
self
.
_encryptPassword
(
password
)
self
.
data
[
name
]
=
User
(
name
,
password
,
roles
,
domains
)
self
.
data
[
name
]
=
User
(
name
,
password
,
roles
,
domains
)
...
...
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