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
E
e-epal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Χάρης Παπαδόπουλος
e-epal
Commits
0cff4249
Commit
0cff4249
authored
Jun 28, 2017
by
Σταύρος Παπαδάκης
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix redirect
parent
7680505d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
drupal/modules/casost/src/Controller/CASLogout.php
drupal/modules/casost/src/Controller/CASLogout.php
+2
-5
No files found.
drupal/modules/casost/src/Controller/CASLogout.php
View file @
0cff4249
...
...
@@ -11,6 +11,7 @@ use Drupal\Core\Database\Connection;
use
Symfony\Component\HttpFoundation\Request
;
use
Symfony\Component\HttpFoundation\Response
;
use
Symfony\Component\HttpFoundation\JsonResponse
;
use
Symfony\Component\HttpFoundation\RedirectResponse
;
use
Drupal\Core\Logger\LoggerChannelFactoryInterface
;
use
phpCAS
;
...
...
@@ -190,10 +191,6 @@ class CASLogout extends ControllerBase
session_unset
();
session_destroy
();
\
Drupal
::
service
(
'page_cache_kill_switch'
)
->
trigger
();
if
(
'casost_sch_sso_config'
===
$configRowName
)
{
return
new
RedirectResponse
(
$this
->
redirectUrl
.
'&error_code='
.
$errorCode
,
302
,
[]);
}
else
{
return
new
RedirectResponseWithCookieExt
(
$this
->
redirectUrl
.
'&error_code='
.
$errorCode
,
302
,
[]);
}
return
new
RedirectResponse
(
$this
->
redirectUrl
.
'&error_code='
.
$errorCode
,
302
,
[]);
}
}
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