opentele icon indicating copy to clipboard operation
opentele copied to clipboard

Getting SessionPasswordNeededError

Open RobertAzovski opened this issue 11 months ago • 0 comments

Whenever I try to use current session I still get SessionPasswordNeededError: SessionPasswordNeededError('Two-steps verification is enabled and a password is required (caused by GetAuthorizationsRequest)')

I tried both method of obtaining TelegramClient, in both CurrentSession flag was used.

 # client = await TelegramClient.FromTDesktop(tdesk, session=None, flag=UseCurrentSession, proxy=proxy)
    client = await tdesk.ToTelethon(session=None, flag=UseCurrentSession, proxy=proxy)

RobertAzovski avatar Mar 05 '24 19:03 RobertAzovski