Notify user when shibboleth presents new entitlements

This commit is contained in:
I-Al-Istannen 2022-04-03 11:32:38 +02:00
parent 7872fe5221
commit 86e2e226dc
2 changed files with 8 additions and 0 deletions

View File

@ -27,6 +27,8 @@ ambiguous situations.
### Fixed
- ILIAS login
- Local video cache if `windows_paths` is enabled
- Report when Shibboleth reviews entitlements
- Support for video listings with more columns
## 3.3.0 - 2022-01-09

View File

@ -710,6 +710,12 @@ class KitShibbolethLogin:
}
soup = await _post(sess, url, data)
if soup.find(id="attributeRelease"):
raise CrawlError(
"ILIAS Shibboleth entitlements changed! "
"Please log in once in your browser and review them"
)
if self._tfa_required(soup):
soup = await self._authenticate_tfa(sess, soup)