Commit e603e507 authored by Renato Figueiro Maia's avatar Renato Figueiro Maia

Merge from branch 02_00_00 (160303)


git-svn-id: https://subversion.tecgraf.puc-rio.br/engdist/openbus/sdk/lua/branches/02_00_01@160304 ae0415b3-e90b-0410-900d-d0be9363c56b
parents d088a7c6 47647e4c
......@@ -453,10 +453,15 @@ function Connection:receivereply(request)
login = invlogin.id,
entity = invlogin.entity,
})
local ok, result
local logins = self.LoginRegistry
NoInvalidLoginHandling[thread] = true
local ok, result = pcall(logins.getLoginValidity, logins, invlogin.id)
NoInvalidLoginHandling[thread] = nil
if logins ~= nil then
NoInvalidLoginHandling[thread] = true
ok, result = pcall(logins.getLoginValidity, logins, invlogin.id)
NoInvalidLoginHandling[thread] = nil
else -- we aren't logged
ok, result = true, 0
end
if ok and result > 0 then
log:exception(msg.GotFalseInvalidLogin:tag{
invlogin = invlogin.id,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment