X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FMethods%2FResetPassword.py;h=43ee8ba165768a6d99b60944ff94379f12eaa418;hb=238d5594712b9d918636501e754a8f5816313e25;hp=1486a821a0d9a519fbda911b8a34ff5d710e5ef1;hpb=b0d2dea38d0136e256330b561ec1c6efd652f4dc;p=plcapi.git diff --git a/PLC/Methods/ResetPassword.py b/PLC/Methods/ResetPassword.py index 1486a82..43ee8ba 100644 --- a/PLC/Methods/ResetPassword.py +++ b/PLC/Methods/ResetPassword.py @@ -39,6 +39,8 @@ class ResetPassword(Method): returns = Parameter(int, '1 if verification_key is valid') + object_type = 'Person' + def call(self, auth, person_id_or_email, verification_key = None, verification_expires = None): # Get account information persons = Persons(self.api, [person_id_or_email])