mirror of
https://github.com/Garmelon/PFERD.git
synced 2023-12-21 10:23:01 +01:00
Remove section and config parameter from Authenticator
This commit is contained in:
@ -1,6 +1,5 @@
|
||||
from typing import Optional, Tuple
|
||||
|
||||
from ..config import Config
|
||||
from ..logging import log
|
||||
from ..utils import agetpass, ainput
|
||||
from .authenticator import Authenticator, AuthError, AuthSection
|
||||
@ -19,9 +18,8 @@ class SimpleAuthenticator(Authenticator):
|
||||
self,
|
||||
name: str,
|
||||
section: SimpleAuthSection,
|
||||
config: Config,
|
||||
) -> None:
|
||||
super().__init__(name, section, config)
|
||||
super().__init__(name)
|
||||
|
||||
self._username = section.username()
|
||||
self._password = section.password()
|
||||
|
Reference in New Issue
Block a user