John Bieling
2015-05-19 6f41f0069ab125df38e858ccb48a9e4e7f9d2296
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)
1 files modified
2 ■■■■■ changed files
plugins/managesieve/lib/Roundcube/rcube_sieve.php 2 ●●●●● patch | view | raw | blame | history
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;
        }