Merge pull request #75 from brknkfr/closeconnection

Cleanly close imap connection
This commit is contained in:
violoncello.ch
2019-05-22 10:29:53 +02:00
committed by GitHub

View File

@@ -83,6 +83,7 @@ class OC_User_IMAP extends \OCA\user_external\Base {
);
if($canconnect) {
$rcube->closeConnection();
$uid = mb_strtolower($uid);
$this->storeUser($uid);
return $uid;