Commit 72be64e5 authored by ale's avatar ale

Patch managesieve for SSO login

See issue #2 for details. This is a temporary solution.
parent 08024af2
Pipeline #2421 passed with stages
in 7 minutes and 48 seconds
diff -urN old/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php new/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php
--- old/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php 2019-01-17 17:16:48.444068789 +0000
+++ new/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php 2019-01-17 17:18:03.692742949 +0000
@@ -93,7 +93,8 @@
));
// connect to managesieve server
- $error = $this->connect($_SESSION['username'], $this->rc->decrypt($_SESSION['password']));
+ // A/I patch: fetch the SSO token from the Apache request environment.
+ $error = $this->connect($_SESSION['username'], $_SERVER['SSO_TICKET']);
// load current/active script
if (!$error) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment