diff options
author | Christian Schneider | 2016-07-20 13:26:40 +0200 |
---|---|---|
committer | Christian Schneider | 2016-07-20 13:26:56 +0200 |
commit | 52340f50c1577b68aea74d743f297d796b952170 (patch) | |
tree | 35e8f795895f825f2897948bea3b99b8db8204b2 /it_user.class | |
parent | a406864c30fcbb3c462b99f91c03dd1d9b30545f (diff) | |
download | itools-52340f50c1577b68aea74d743f297d796b952170.tar.gz itools-52340f50c1577b68aea74d743f297d796b952170.tar.bz2 itools-52340f50c1577b68aea74d743f297d796b952170.zip |
Use same server (may have switched to server_update) to read back newly created user
Diffstat (limited to 'it_user.class')
-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)) { |