Skip to content

Commit 183add0

Browse files
authored
Equalize some docs with master (#2541)
1 parent eccec03 commit 183add0

2 files changed

Lines changed: 23 additions & 5 deletions

File tree

docs/simplesamlphp-advancedfeatures.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -116,23 +116,23 @@ class CustomCode
116116
* @param \SimpleSAML\Session $session The session to approve/reject
117117
* @param bool $init true if called during session init.
118118
*/
119-
public static function checkSession(\SimpleSAML\Session $session, bool $init = false)
119+
public static function checkSession(\SimpleSAML\Session $session, bool $init = false): bool
120120
{
121121
$authority = "default-sp";
122122

123-
if( $init ) {
123+
if ($init) {
124124
// init can not fail
125125
// return value is ignored
126126
return true;
127127
}
128128

129-
$ad = $session->getAuthData($authority,"Attributes");
130-
if( !$ad ) {
129+
$ad = $session->getAuthData($authority, "Attributes");
130+
if (empty($ad)) {
131131
return true;
132132
}
133133
$uid = $ad["uid"];
134134

135-
if( in_array("badboy@localhost.localdomain",$uid)) {
135+
if (in_array("badboy@localhost.localdomain", $uid)) {
136136
// drop the session
137137
return false;
138138
}

docs/simplesamlphp-changelog-1.x.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,24 @@
55
This document lists the changes between versions of SimpleSAMLphp.
66
See the upgrade notes for specific information about upgrading.
77

8+
## Version 1.19.8
9+
10+
Released 2-3-2023
11+
12+
* Dependencies have been bumped (CVE-2022-24894)
13+
14+
## Version 1.19.7
15+
16+
Released 5-12-2022
17+
18+
* Backported fix to error report page (#1637)
19+
* Many doc fixes
20+
* Fixed the handling of SAML AttributeQuery and SOAP-binding (#314 @ saml2)
21+
* Fixed serialization of complex AttributeValue structures
22+
* Bump composer + npm dependencies (includes a fix for CVE-2022-39261)
23+
* Many updated translations
24+
* Handle ETag/If-None-Match logic (#1672 + #1673)
25+
826
## Version 1.19.6
927

1028
Released 2022-07-01

0 commit comments

Comments
 (0)