diff --git a/PFERD/auth/credential_file.py b/PFERD/auth/credential_file.py index 30a56ba..d0fcdda 100644 --- a/PFERD/auth/credential_file.py +++ b/PFERD/auth/credential_file.py @@ -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