CardDAV digest/basic auth configuration

Small fix
This commit is contained in:
RainLoop Team 2013-12-20 03:42:04 +04:00
parent 276e4504af
commit dfe0995655
3 changed files with 12 additions and 8 deletions

View file

@ -274,11 +274,8 @@ abstract class PdoAbstract
{
$oStmt->closeCursor();
$oStmt = $this->prepareAndExecute('INSERT INTO rainloop_users (rl_email, rl_hash) VALUES (:rl_email, :rl_hash)',
array(
':rl_email' => array($sEmail, \PDO::PARAM_STR),
':rl_hash' => array(\md5($sEmail.\microtime(true)), \PDO::PARAM_STR)
)
$oStmt = $this->prepareAndExecute('INSERT INTO rainloop_users (rl_email) VALUES (:rl_email)',
array(':rl_email' => array($sEmail, \PDO::PARAM_STR))
);
return $this->getUserId($sEmail, true);