Fix ilias shibboleth authenticator

The shibboleth site got a visual overhaul that slightly changed the classes of a
form we need.
This commit is contained in:
Joscha 2020-07-28 19:13:51 +00:00
parent a3e1864a26
commit 77a109bb7e

View File

@ -67,7 +67,7 @@ class KitShibbolethAuthenticator(IliasAuthenticator):
while not self._login_successful(soup):
# Searching the form here so that this fails before asking for
# credentials rather than after asking.
form = soup.find("form", {"class": "form2", "method": "post"})
form = soup.find("form", {"class": "full content", "method": "post"})
action = form["action"]
# Equivalent: Enter credentials in