Skip to content
Snippets Groups Projects
Commit 3019b0ef authored by Jaime Pérez Crespo's avatar Jaime Pérez Crespo Committed by GitHub
Browse files

Merge pull request #603 from mholisky/log-more-info

Add REMOTE_ADDR to successful auth and user name to unsuccessful log …
parents 1b2cc4e4 ce055bfa
No related branches found
No related tags found
No related merge requests found
...@@ -256,7 +256,7 @@ abstract class sspmod_core_Auth_UserPassBase extends SimpleSAML_Auth_Source { ...@@ -256,7 +256,7 @@ abstract class sspmod_core_Auth_UserPassBase extends SimpleSAML_Auth_Source {
throw $e; throw $e;
} }
SimpleSAML\Logger::stats('User \''.$username.'\' has been successfully authenticated.'); SimpleSAML\Logger::stats('User \''.$username.'\' successfully authenticated from '.$_SERVER['REMOTE_ADDR']);
/* Save the attributes we received from the login-function in the $state-array. */ /* Save the attributes we received from the login-function in the $state-array. */
assert('is_array($attributes)'); assert('is_array($attributes)');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment