Merge pull request #75 from brknkfr/closeconnection
Cleanly close imap connection
This commit is contained in:
@@ -83,6 +83,7 @@ class OC_User_IMAP extends \OCA\user_external\Base {
|
|||||||
);
|
);
|
||||||
|
|
||||||
if($canconnect) {
|
if($canconnect) {
|
||||||
|
$rcube->closeConnection();
|
||||||
$uid = mb_strtolower($uid);
|
$uid = mb_strtolower($uid);
|
||||||
$this->storeUser($uid);
|
$this->storeUser($uid);
|
||||||
return $uid;
|
return $uid;
|
||||||
|
|||||||
Reference in New Issue
Block a user