CORE POS - IS4C
The CORE POS front end
|
Static Public Member Functions | |
static | checkPassword ($password, $activity=1) |
static | checkPermission ($password, $level) |
static | getEmployeeByPassword ($password) |
static | getEmployeeByNumber ($emp_no) |
static | getPermission ($emp_no) |
Functions for user authentication
|
static |
Authenticate an employee by password
$password | password from employee table |
$activity | activity identifier to log |
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.