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
5712a90c
Commit
5712a90c
authored
Mar 07, 2001
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merged fix to match lengths of default password and confirm marker values
parent
a8db4e30
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
lib/python/AccessControl/User.py
lib/python/AccessControl/User.py
+2
-2
lib/python/AccessControl/dtml/editUser.dtml
lib/python/AccessControl/dtml/editUser.dtml
+1
-1
No files found.
lib/python/AccessControl/User.py
View file @
5712a90c
...
...
@@ -84,7 +84,7 @@
##############################################################################
"""Access control package"""
__version__
=
'$Revision: 1.14
1
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.14
2
$'
[
11
:
-
2
]
import
Globals
,
socket
,
ts_regex
,
SpecialUsers
import
os
...
...
@@ -760,7 +760,7 @@ class BasicUserFolder(Implicit, Persistent, Navigation, Tabs, RoleManager,
def
_changeUser
(
self
,
name
,
password
,
confirm
,
roles
,
domains
,
REQUEST
=
None
):
if
password
==
'password'
and
confirm
==
'confirm'
:
if
password
==
'password'
and
confirm
==
'
p
confirm'
:
# Protocol for editUser.dtml to indicate unchanged password
password
=
confirm
=
None
if
not
name
:
...
...
lib/python/AccessControl/dtml/editUser.dtml
View file @
5712a90c
...
...
@@ -44,7 +44,7 @@ New Password
</div>
</TD>
<TD VALIGN="TOP">
<INPUT TYPE="PASSWORD" NAME="confirm" SIZE="30" value="confirm" />
<INPUT TYPE="PASSWORD" NAME="confirm" SIZE="30" value="
p
confirm" />
</TD>
</TR>
</dtml-if>
...
...
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