PM Rest: changing passwd to password param on login method of login api class
This commit is contained in:
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user