mirror of
https://github.com/moparisthebest/imapfilter
synced 2024-12-21 23:28:49 -05:00
Don't allow a login if a session already exists.
This commit is contained in:
parent
18940cc9f2
commit
8b0e8943e3
@ -48,6 +48,7 @@ function Account._login_user(self)
|
||||
self._account.username .. '@' .. self._account.server .. ': ')
|
||||
end
|
||||
|
||||
if self._account.session then return true end
|
||||
local r, s = ifcore.login(self._account.server, self._account.port,
|
||||
self._account.ssl, self._account.username,
|
||||
self._account.password)
|
||||
|
Loading…
Reference in New Issue
Block a user