CORE POS - IS4C
The CORE POS front end
Static Public Member Functions | List of all members
Authenticate Class Reference
Inheritance diagram for Authenticate:
LibraryClass

Static Public Member Functions

static checkPassword ($password, $activity=1)
 

Detailed Description

Functions for user authentication

Member Function Documentation

static Authenticate::checkPassword (   $password,
  $activity = 1 
)
static

Authenticate an employee by password

Parameters
$passwordpassword from employee table
$activityactivity identifier to log
Returns
True or False

If no one is currently logged in, any valid password will be accepted. If someone is logged in, then only passwords for that user or a user with frontendsecurity >= 30 in the employee table will be accepted.


The documentation for this class was generated from the following file: