mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 13:39:22 +03:00
CardDAV digest/basic auth configuration
Small fix
This commit is contained in:
parent
276e4504af
commit
dfe0995655
3 changed files with 12 additions and 8 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue