- added logging variable 'object_type'
[plcapi.git] / PLC / Methods / ResetPassword.py
index 1486a82..43ee8ba 100644 (file)
@@ -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])