mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-05 17:18:13 +01:00
Fix: avoid warning
This commit is contained in:
@@ -20,8 +20,8 @@
|
||||
/**
|
||||
* Class ot manage authentication for pos module (cashdesk)
|
||||
*/
|
||||
class Auth {
|
||||
|
||||
class Auth
|
||||
{
|
||||
var $db;
|
||||
|
||||
var $login;
|
||||
@@ -31,33 +31,62 @@ class Auth {
|
||||
|
||||
var $sqlQuery;
|
||||
|
||||
|
||||
function Auth ($DB) {
|
||||
/**
|
||||
* Enter description here ...
|
||||
*
|
||||
* @param unknown_type $DB
|
||||
*/
|
||||
function Auth($DB)
|
||||
{
|
||||
|
||||
$this->db = $DB;
|
||||
$this->reponse(null);
|
||||
|
||||
}
|
||||
|
||||
function login ($aLogin) {
|
||||
/**
|
||||
* Enter description here ...
|
||||
*
|
||||
* @param unknown_type $aLogin
|
||||
*/
|
||||
function login($aLogin)
|
||||
{
|
||||
|
||||
$this->login = $aLogin;
|
||||
|
||||
}
|
||||
|
||||
function passwd ($aPasswd) {
|
||||
/**
|
||||
* Enter description here ...
|
||||
*
|
||||
* @param unknown_type $aPasswd
|
||||
*/
|
||||
function passwd($aPasswd)
|
||||
{
|
||||
|
||||
$this->passwd = $aPasswd;
|
||||
|
||||
|
||||
}
|
||||
|
||||
function reponse ($aReponse) {
|
||||
/**
|
||||
* Enter description here ...
|
||||
*
|
||||
* @param unknown_type $aReponse
|
||||
*/
|
||||
function reponse($aReponse)
|
||||
{
|
||||
|
||||
$this->reponse = $aReponse;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Enter description here ...
|
||||
*
|
||||
* @param unknown_type $aLogin
|
||||
* @param unknown_type $aPasswd
|
||||
*/
|
||||
function verif($aLogin, $aPasswd)
|
||||
{
|
||||
global $conf,$dolibarr_main_authentication,$langs;
|
||||
|
||||
Reference in New Issue
Block a user