Hi,
it's just a basic question, who use espocrm on non default port ( other than 80 or 443) (of course 443 is default) ?
i have just remark that :
application/Espo/Core/Authentication/Authentication.php
line +- : 590
don't take the port, so in AuthLogRecord, the port is missing.
solution is add : $request->getUri()->getPort()
but it's this important ? that is the question.
for me not.
it's just a basic question, who use espocrm on non default port ( other than 80 or 443) (of course 443 is default) ?
i have just remark that :
application/Espo/Core/Authentication/Authentication.php
line +- : 590
PHP Code:
$requestUrl =
$request->getUri()->getScheme() . '://' .
$request->getUri()->getHost() .
$request->getUri()->getPath();
if (!$username && $user) {
$username = $user->getUserName();
}
$authLogRecord
->setUsername($username)
->setIpAddress($this->util->obtainIpFromRequest($request))
->setRequestTime($request->getServerParam('REQUEST_TIME_FLOAT'))
->setRequestMethod($request->getMethod())
->setRequestUrl($requestUrl)
->setAuthenticationMethod($method)
->setPortalId($this->isPortal() ? $this-
solution is add : $request->getUri()->getPort()
but it's this important ? that is the question.
for me not.