-
Aryan Noshirvnai authored
Accounts with a Telegram cloud password enabled couldn't link at all - sign_in() raised SessionPasswordNeeded and the endpoint surfaced it as a generic 400. /auth/telegram/login now returns 412 in that case (not 401, so apiFetch's access-token-refresh retry doesn't swallow it), and a new /auth/telegram/password endpoint finishes the same in-progress Pyrogram auth session with the password, via a shared _link_telegram_session helper so both paths attach to the caller identically. Co-Authored-By:
Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
0414a226
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| __init__.py | ||
| auth.py | ||
| channels.py | ||
| discovery.py | ||
| library.py | ||
| music.py | ||
| remix.py | ||
| social.py | ||
| soundmarks.py |