@@ -726,7 +726,7 @@ unset($_SESSION['AuthNRequestID']);
726726$errors = $auth->getErrors();
727727
728728if (!empty($errors)) {
729- print_r( '<p >'. implode(', ', $errors). '</p >') ;
729+ echo '<p >', implode(', ', $errors), '</p >';
730730 exit();
731731}
732732
@@ -865,9 +865,9 @@ $auth->processSLO(false, $requestID);
865865$errors = $auth->getErrors();
866866
867867if (empty($errors)) {
868- print_r( 'Sucessfully logged out') ;
868+ echo 'Sucessfully logged out';
869869} else {
870- print_r( implode(', ', $errors) );
870+ echo implode(', ', $errors);
871871}
872872```
873873
@@ -1058,7 +1058,7 @@ if (isset($_GET['sso'])) { // SSO action. Will send an AuthNRequest to the I
10581058 // that could took place during the process
10591059
10601060 if (!empty($errors)) {
1061- print_r( '<p >'. implode(', ', $errors). '</p >') ;
1061+ echo '<p >', implode(', ', $errors), '</p >';
10621062 }
10631063 // This check if the response was
10641064 if (!$auth->isAuthenticated()) { // sucessfully validated and the user
@@ -1074,9 +1074,9 @@ if (isset($_GET['sso'])) { // SSO action. Will send an AuthNRequest to the I
10741074 $auth->processSLO(); // Process the Logout Request & Logout Response
10751075 $errors = $auth->getErrors(); // Retrieves possible validation errors
10761076 if (empty($errors)) {
1077- print_r( '<p >Sucessfully logged out</p >') ;
1077+ echo '<p >Sucessfully logged out</p >';
10781078 } else {
1079- print_r( '<p >'. implode(', ', $errors). '</p >') ;
1079+ echo '<p >', implode(', ', $errors), '</p >';
10801080 }
10811081}
10821082
0 commit comments