Cleanly close imap connection

Signed-off-by: Sebastian <bash2@momou.ch>
This commit is contained in:
Sebastian
2019-05-09 17:18:41 +02:00
parent 2fd648db4c
commit 76189b6e3e

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;