Remove section and config parameter from Authenticator

This commit is contained in:
I-Al-Istannen
2021-05-25 15:11:33 +02:00
parent d905e95dbb
commit 0096a0c077
5 changed files with 9 additions and 18 deletions

View File

@ -15,9 +15,9 @@ AuthConstructor = Callable[[
AUTHENTICATORS: Dict[str, AuthConstructor] = {
"simple": lambda n, s, c:
SimpleAuthenticator(n, SimpleAuthSection(s), c),
SimpleAuthenticator(n, SimpleAuthSection(s)),
"tfa": lambda n, s, c:
TfaAuthenticator(n, AuthSection(s), c),
TfaAuthenticator(n),
"keyring": lambda n, s, c:
KeyringAuthenticator(n, KeyringAuthSection(s), c)
KeyringAuthenticator(n, KeyringAuthSection(s))
}