[Zope] authenticate() takes exactly 3 arguments (2 given)

Hamzat Kamal hamzatk@dnetsystems.net
Fri, 07 Dec 2001 19:43:59 +0100


Hello,
Kindly help me if you have solution / ideal to this error.

Error Type: TypeError
Error Value: authenticate() takes exactly 3 arguments (2 given)

Below is the python method for the authetication

autheticate(self, password, request):

if password == self.password:
        return 1
else:
        return 0

Regards.
kamal