mirror of
https://github.com/Garmelon/PFERD.git
synced 2023-12-21 10:23:01 +01:00
Let authenticators provide username and password separately
This commit is contained in:
@ -177,7 +177,7 @@ class KitShibbolethLogin:
|
||||
if not self._tfa_auth:
|
||||
raise RuntimeError("No 'tfa_auth' present but you use two-factor authentication!")
|
||||
|
||||
_, tfa_token = await self._tfa_auth.credentials()
|
||||
tfa_token = await self._tfa_auth.password()
|
||||
|
||||
# Searching the form here so that this fails before asking for
|
||||
# credentials rather than after asking.
|
||||
|
Reference in New Issue
Block a user