Commit 980db13e authored by Lennart Regebro's avatar Lennart Regebro

Fixed a "spelling" error.

parent 7486f9f5
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
############################################################################## ##############################################################################
"""Access control package""" """Access control package"""
__version__='$Revision: 1.173 $'[11:-2] __version__='$Revision: 1.174 $'[11:-2]
import Globals, socket, SpecialUsers,re import Globals, socket, SpecialUsers,re
import os import os
...@@ -1034,7 +1034,7 @@ class UserFolder(BasicUserFolder): ...@@ -1034,7 +1034,7 @@ class UserFolder(BasicUserFolder):
def _doChangeUser(self, name, password, roles, domains, **kw): def _doChangeUser(self, name, password, roles, domains, **kw):
user=self.data[name] user=self.data[name]
if password is not None: if password is not None:
if self.encrypt_passwords and not self._isPasswordEncrypted(pw): if self.encrypt_passwords and not self._isPasswordEncrypted(password):
password = self._encryptPassword(password) password = self._encryptPassword(password)
user.__=password user.__=password
user.roles=roles user.roles=roles
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment