mirror of
https://github.com/Garmelon/PFERD.git
synced 2026-04-12 15:35:05 +02:00
Fix credential parsing
This commit is contained in:
parent
e1bda94329
commit
f656e3ff34
1 changed files with 2 additions and 2 deletions
|
|
@ -37,8 +37,8 @@ class CredentialFileAuthenticator(Authenticator):
|
|||
if not pline.startswith("password="):
|
||||
raise AuthLoadError("Second line must start with 'password='")
|
||||
|
||||
self._username = uline[:9]
|
||||
self._password = pline[:9]
|
||||
self._username = uline[9:]
|
||||
self._password = pline[9:]
|
||||
|
||||
async def credentials(self) -> Tuple[str, str]:
|
||||
return self._username, self._password
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue