2 // this is internal or default authentication
3 function authenticate_user_login($username,$password) {
5 return get_record_select('users',"username = ? AND password = ? AND active = ? AND user_type = ? ",
6 array($username,$password,'yes','person'));