Skip to content
This repository was archived by the owner on Sep 19, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
All notable changes to this project will be documented in this file.

## [Unreleased]
#### Fixed
- Log info message about successful authentication only after successful authentication to SP

## [v3.1.0]
#### Added
Expand Down
7 changes: 4 additions & 3 deletions lib/Auth/Process/DatabaseCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,13 @@ public static function insertLogin(&$request, &$date)
"(identifier, name) VALUES (?, ?) ON DUPLICATE KEY UPDATE name = ?"
);
$stmt->bind_param("sss", $spEntityId, $spName, $spName);
$stmt->execute();
$success = $stmt->execute();
if ($success) {
Logger::info("The login log was successfully stored in database");
}
}
}

Logger::info("The login log was successfully stored in database");

$conn->close();
}

Expand Down