mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-05-03 04:14:35 +02:00
base_xenforo2 better detect whether logged in.
This commit is contained in:
parent
f0a08f7647
commit
37db56e6b3
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ class BaseXenForo2ForumAdapter(BaseXenForoForumAdapter):
|
|||
def performLogin(self,data):
|
||||
params = {}
|
||||
|
||||
if data and "Log in" not in data:
|
||||
if data and 'href="/login/"' not in data:
|
||||
## already logged in.
|
||||
logger.debug("Already Logged In")
|
||||
return
|
||||
|
|
|
|||
Loading…
Reference in a new issue