Commit fb83140e authored by Maxime Pommier's avatar Maxime Pommier Committed by Romain Bignon

[lcl] Fix new login url

parent c6c9dd64
......@@ -49,7 +49,7 @@ class LCLBrowser(LoginBrowser, StatesMixin):
login = URL('/outil/UAUT/Authentication/authenticate',
login = URL('/outil/UAUT\?from=/outil/UWHO/Accueil/',
......@@ -153,7 +153,8 @@ class LCLBrowser(LoginBrowser, StatesMixin):
# we force the browser to go to login page so it's work even
# if the session expire
# Must set the referer to avoid redirection to the home page
self.login.go(headers={"Referer": ""})
if not, self.password) or \
(self.login.is_here() and
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