mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-06 07:57:02 +03:00
parent
e2266d1ffd
commit
7bdc6c683b
1 changed files with 2 additions and 2 deletions
|
|
@ -125,9 +125,9 @@ class SnappyMailHelper
|
||||||
}
|
}
|
||||||
} else if ($aRainLoop = RainLoop::getLoginCredentials($sUID, $config)) {
|
} else if ($aRainLoop = RainLoop::getLoginCredentials($sUID, $config)) {
|
||||||
$sEmail = $aRainLoop[0];
|
$sEmail = $aRainLoop[0];
|
||||||
$config->setUserValue($sUser, 'snappymail', 'snappymail-email', $sEmail);
|
$config->setUserValue($sUID, 'snappymail', 'snappymail-email', $sEmail);
|
||||||
if ($aRainLoop[1]) {
|
if ($aRainLoop[1]) {
|
||||||
$config->setUserValue($sUser, 'snappymail', 'snappymail-password', static::encodePassword($aRainLoop[1], \md5($sEmail)));
|
$config->setUserValue($sUID, 'snappymail', 'snappymail-password', static::encodePassword($aRainLoop[1], \md5($sEmail)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return [$sUID, $sEmail, $sPassword ?: ''];
|
return [$sUID, $sEmail, $sPassword ?: ''];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue