mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
DS-1191 provide a warning in the logs if resumeLogin fails because of ip mismatch
This commit is contained in:
@@ -279,7 +279,9 @@ public class AuthenticationUtil
|
||||
}
|
||||
else
|
||||
{
|
||||
// Possible hack attempt.
|
||||
// Possible hack attempt or maybe your setup is not providing a consistent end-user IP address.
|
||||
log.info(LogManager.getHeader(context, "ip_mismatch", "id=" + id + ", request ip=" +
|
||||
request.getRemoteAddr() + ", session ip=" + address));
|
||||
}
|
||||
} // if id
|
||||
} // if session
|
||||
|
Reference in New Issue
Block a user