mirror of
https://github.com/Garmelon/PFERD.git
synced 2023-12-21 10:23:01 +01:00
Properly invalidate exceptions
The simple authenticator now properly invalidates its credentials. Also, the invalidation functions have been given better names and documentation.
This commit is contained in:
@ -156,7 +156,7 @@ class KitShibbolethLogin:
|
||||
soup = await self._authenticate_tfa(sess, soup)
|
||||
|
||||
if not self._login_successful(soup):
|
||||
self._auth.invalid_credentials()
|
||||
self._auth.invalidate_credentials()
|
||||
|
||||
# Equivalent: Being redirected via JS automatically
|
||||
# (or clicking "Continue" if you have JS disabled)
|
||||
|
Reference in New Issue
Block a user