From 6f41f0069ab125df38e858ccb48a9e4e7f9d2296 Mon Sep 17 00:00:00 2001
From: John Bieling <john.bieling@gmx.de>
Date: Tue, 19 May 2015 09:39:14 -0400
Subject: [PATCH] Allow to override password, but keep username (auth_cid/auth_pw)
---
plugins/managesieve/lib/Roundcube/rcube_sieve.php | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/plugins/managesieve/lib/Roundcube/rcube_sieve.php b/plugins/managesieve/lib/Roundcube/rcube_sieve.php
index 59a7bc1..898f694 100644
--- a/plugins/managesieve/lib/Roundcube/rcube_sieve.php
+++ b/plugins/managesieve/lib/Roundcube/rcube_sieve.php
@@ -77,6 +77,8 @@
if (!empty($auth_cid)) {
$authz = $username;
$username = $auth_cid;
+ }
+ if (!empty($auth_pw)) {
$password = $auth_pw;
}
--
Gitblit v1.9.1