Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
9e60295d
Commit
9e60295d
authored
13 years ago
by
Regis Houssin
Browse files
Options
Downloads
Patches
Plain Diff
Fix: avoid warning
parent
38cdb896
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
htdocs/cashdesk/class/Auth.class.php
+41
-12
41 additions, 12 deletions
htdocs/cashdesk/class/Auth.class.php
with
41 additions
and
12 deletions
htdocs/cashdesk/class/Auth.class.php
+
41
−
12
View file @
9e60295d
...
...
@@ -20,8 +20,8 @@
/**
* Class ot manage authentication for pos module (cashdesk)
*/
class
Auth
{
class
Auth
{
var
$db
;
var
$login
;
...
...
@@ -30,35 +30,64 @@ class Auth {
var
$reponse
;
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
;
}
function
verif
(
$aLogin
,
$aPasswd
)
/**
* Enter description here ...
*
* @param unknown_type $aLogin
* @param unknown_type $aPasswd
*/
function
verif
(
$aLogin
,
$aPasswd
)
{
global
$conf
,
$dolibarr_main_authentication
,
$langs
;
...
...
@@ -138,4 +167,4 @@ class Auth {
}
?>
?>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment