summaryrefslogtreecommitdiff
path: root/it_user.class
diff options
context:
space:
mode:
authorChristian Schneider2016-07-20 13:38:19 +0200
committerChristian Schneider2016-07-20 13:38:19 +0200
commit32cdb763d422c7ebed3a75af8897ba14a7cc047d (patch)
treec3f54124687f9212c68f2445ead73f86815f699f /it_user.class
parent52340f50c1577b68aea74d743f297d796b952170 (diff)
downloaditools-32cdb763d422c7ebed3a75af8897ba14a7cc047d.tar.gz
itools-32cdb763d422c7ebed3a75af8897ba14a7cc047d.tar.bz2
itools-32cdb763d422c7ebed3a75af8897ba14a7cc047d.zip
Revert "Use same server (may have switched to server_update) to read back newly created user"
This reverts commit 52340f50c1577b68aea74d743f297d796b952170.
Diffstat (limited to 'it_user.class')
-rw-r--r--it_user.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_user.class b/it_user.class
index ee12258..927a36d 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('server' => $this->_p['server'], 'table' => $this->p['table'], 'keyfield' => $this->p['username_field']));
+ $this->workrecord = new it_dbi(array('table' => $this->p['table'], 'keyfield' => $this->p['username_field']));
if ($this->workrecord->read($username))
{