Allow to override password, but keep username (auth_cid/auth_pw)

There is a managesieve server from afterlogic, which allows to authenticate by providing a "master password" for any given username. This patch allows to use the auth_pw config option to make this work (auth_cid remains null)
pull/277/head^2
John Bieling 10 years ago
parent c4ad7edd53
commit 6f41f0069a

@ -77,6 +77,8 @@ class rcube_sieve
if (!empty($auth_cid)) {
$authz = $username;
$username = $auth_cid;
}
if (!empty($auth_pw)) {
$password = $auth_pw;
}

Loading…
Cancel
Save