PM Rest: changing passwd to password param on login method of login api class

This commit is contained in:
Erik Amaru Ortiz
2012-08-13 17:51:07 -04:00
parent 6c61e06d3b
commit 9be0c008c4

View File

@@ -4,10 +4,10 @@ G::LoadClass('sessions');
class Services_Rest_Login class Services_Rest_Login
{ {
public function post($user, $passwd) public function post($user, $password)
{ {
$wsBase = new wsBase(); $wsBase = new wsBase();
$result = $wsBase->login($user, $passwd); $result = $wsBase->login($user, $password);
if ($result->status_code == 0) { if ($result->status_code == 0) {
return array( return array(