[Vtigercrm-commits] [vtiger development] #7668: allow webservice login with password

vtiger development vtiger-tickets at trac.vtiger.com
Wed Apr 3 18:11:04 UTC 2013


#7668: allow webservice login with password
-----------------------+------------------------
 Reporter:  heinz      |       Owner:  developer
     Type:  patch      |      Status:  new
 Priority:  major      |   Milestone:  6.0.0
Component:  vtigercrm  |     Version:  5.4.0
 Severity:  Medium     |  Resolution:
 Keywords:             |
-----------------------+------------------------

Comment (by heinz):

 The following script is necessary to add the webservice operation to the
 database.

 {{{
 <?php
 require_once('adodb/adodb-exceptions.inc.php');
 require_once('include/database/PearDatabase.php');
 require_once('include/Webservices/Utils.php');

 $operationId = vtws_addWebserviceOperation('login.password',
 'include/Webservices/LoginPassword.php', 'vtws_login_password', 'POST',
 1);
 vtws_addWebserviceOperationParam($operationId, 'user_name', 'String', 1);
 vtws_addWebserviceOperationParam($operationId, 'user_password', 'String',
 2);
 }}}

--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/7668#comment:1>
vtiger development <http://trac.vtiger.com/>
vtiger CRM


More information about the vtigercrm-commits mailing list