diff options
| -rw-r--r-- | it_user.class | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/it_user.class b/it_user.class index 927a36d..ee12258 100644 --- a/it_user.class +++ b/it_user.class @@ -232,7 +232,7 @@ function login($username, $password, $ignorepassword = false, $withsession = tru  	$result = false;  	$this->_init_session(); -	$this->workrecord = new it_dbi(array('table' => $this->p['table'], 'keyfield' => $this->p['username_field'])); +	$this->workrecord = new it_dbi(array('server' => $this->_p['server'], 'table' => $this->p['table'], 'keyfield' => $this->p['username_field']));  	if ($this->workrecord->read($username))  	{ |