mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-09 01:17:04 +03:00
CardDAV (beta 2/unstable)
This commit is contained in:
parent
fb54efe922
commit
7a8fffede8
6 changed files with 175 additions and 94 deletions
|
|
@ -25,7 +25,16 @@ class AuthDigest extends \Sabre\DAV\Auth\Backend\AbstractDigest
|
|||
*/
|
||||
public function getDigestHash($sRealm, $sUserName)
|
||||
{
|
||||
$sHash = $this->oPersonalAddressBook->GetUserHashByEmail($sUserName, true);
|
||||
$sHash = '';
|
||||
try
|
||||
{
|
||||
$sHash = $this->oPersonalAddressBook->GetUserHashByEmail($sUserName, true);
|
||||
}
|
||||
catch (Exception $oException) {}
|
||||
|
||||
// var_dump($sHash);
|
||||
// exit();
|
||||
|
||||
if (!empty($sHash))
|
||||
{
|
||||
$this->currentUser = $sUserName;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue