Commit c5585aed authored by Aryan Noshirvnai's avatar Aryan Noshirvnai

Switch primary login to username/password, repurpose Telegram auth as account linking

Adds POST /auth/register and POST /auth/login (username/password, PBKDF2-hashed
stdlib-only, no new dependency). The former phone/code Telegram flow moves to
/auth/telegram/{request_code,login,chats,chats/{id}/music} - it now links a
Telegram account (for the chat-scanning music-tagging feature) to an
already-authenticated user rather than being the identity mechanism itself.
Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
parent 5bbe811c
Pipeline #1080 passed with stage
in 3 minutes and 35 seconds