1.0b6 password cmd bug report
8 Dec
1998
8 Dec
'98
5:07 p.m.
It seems that 1.0b6 doesnt correctly handle the password command via email:
from MailCommandHandler.py:
def ProcessPasswordCmd(self, args, cmd, mail):
if len(args) <> 2:
self.AddError("Usage: password <oldpw> <newpw>")
return
try:
self.ChangeUserPassword(mail.GetSender(),
args[0], args[1], args[1])
self.AddToResponse('Succeeded.')
ProcessPasswordCmd is calling ChangeUserPassword with too many arguments, causing a TypeError:
from SecurityManager.py:
def ChangeUserPassword(self, user, newpw, confirm):
self.IsListInitialized()
Brian Lloyd brian@digicool.com
Software Engineer 540.371.6909
Digital Creations http://www.digicool.com
9242
Age (days ago)
9243
Last active (days ago)
1 comments
2 participants
participants (2)
-
Brian Lloyd
-
Ken Manheimer