Use phpCAS::logoutWithUrl() on logout to ask for redirection to local app
Benjamin Renard

Benjamin Renard commited on 2020-12-03 14:25:44
Showing 1 changed files, with 1 additions and 1 deletions.

... ...
@@ -306,7 +306,7 @@ if (isset($_REQUEST['do'])) {
306 306
 			break;
307 307
 		case 'caslogout':
308 308
 			phpCAS::forceAuthentication();
309
-			phpCAS::logout();
309
+			phpCAS::logoutWithUrl($service_url);
310 310
 			break;
311 311
 		case 'locallogout':
312 312
 			unset($_SESSION['session_url']);
313 313