Skip to content
This repository was archived by the owner on Sep 19, 2022. It is now read-only.

Commit 05e1bc1

Browse files
committed
Saving SourceIdPName instead of EntityId
1 parent 92ccb19 commit 05e1bc1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ All notable changes to this project will be documented in this file.
99

1010
[Changed]
1111
- Database commands use prepared statements
12+
- Saving SourceIdPName instead of EntityId
1213

1314
## [v1.1.0]
1415
[Added]

lib/Auth/Process/DatabaseCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public static function insertLogin(&$request, &$date)
1414
assert($conn != NULL);
1515
$identityProvidersTableName = $databaseConnector->getIdentityProvidersTableName();
1616
$serviceProvidersTableName = $databaseConnector->getServiceProvidersTableName();
17-
$sourceIdp = $request['saml:sp:IdP'];
17+
$sourceIdp = $request['Attributes']['sourceIdPName'][0];
1818
$service = $request['Destination']['name']['en'];
1919
$year = $date->format('Y');
2020
$month = $date->format('m');

0 commit comments

Comments
 (0)