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:
@ -2,7 +2,6 @@ from typing import Optional, Tuple
|
||||
|
||||
import keyring
|
||||
|
||||
from ..config import Config
|
||||
from ..logging import log
|
||||
from ..utils import agetpass, ainput
|
||||
from ..version import NAME
|
||||
@ -23,9 +22,8 @@ class KeyringAuthenticator(Authenticator):
|
||||
self,
|
||||
name: str,
|
||||
section: KeyringAuthSection,
|
||||
config: Config,
|
||||
) -> None:
|
||||
super().__init__(name, section, config)
|
||||
super().__init__(name)
|
||||
|
||||
self._username = section.username()
|
||||
self._password: Optional[str] = None
|
||||
|
Reference in New Issue
Block a user