Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
roundcube
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ai3
docker
roundcube
Commits
72be64e5
Commit
72be64e5
authored
Jan 17, 2019
by
ale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Changes
1
Pipelines
13
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
patches/managesieve-sso.patch
patches/managesieve-sso.patch
+13
-0
No files found.
patches/managesieve-sso.patch
0 → 100644
View file @
72be64e5
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) {
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment