fix login
This commit is contained in:
parent
188220e0c1
commit
2c81d337eb
1 changed files with 1 additions and 1 deletions
|
|
@ -142,7 +142,7 @@ class CPTOperationPage(LoggedPage, HTMLPage):
|
||||||
|
|
||||||
class LoginPage(HTMLPage):
|
class LoginPage(HTMLPage):
|
||||||
def on_load(self):
|
def on_load(self):
|
||||||
for message in self.doc.getroot().cssselect('div.csPanelErrors, div.csPanelAlert'):
|
for message in self.doc.getroot().cssselect('div.csPanelErrors'):
|
||||||
raise BrowserIncorrectPassword(CleanText('.')(message))
|
raise BrowserIncorrectPassword(CleanText('.')(message))
|
||||||
|
|
||||||
def login(self, login):
|
def login(self, login):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue