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

Commit 0e7ada6

Browse files
melangervyskocilpavel
authored andcommitted
Correct log message
`idpName` and `spName` are not checked in this block
1 parent a04acd4 commit 0e7ada6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

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

88
#### Fixed
99
- Log info message about successful authentication only after successful authentication to SP
10+
- Correct log message in insertLogin()
1011

1112
## [v3.1.0]
1213
#### Added

lib/Auth/Process/DatabaseCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ public static function insertLogin(&$request, &$date)
4545

4646
if (empty($idpEntityID) || empty($spEntityId)) {
4747
Logger::error(
48-
"Some from attribute: 'idpEntityId', 'idpName', 'spEntityId' and 'spName'" .
49-
" is null or empty and login log wasn't inserted into the database."
48+
"'idpEntityId' or 'spEntityId'" .
49+
" is empty and login log wasn't inserted into the database."
5050
);
5151
} else {
5252
$stmt = $conn->prepare(

0 commit comments

Comments
 (0)