mirror of
https://gitea.com/gitea/tea.git
synced 2026-10-27 03:21:25 +01:00
With stdin on a terminal, auth login --with-token read the pasted token from the raw terminal, which echoed it in clear text without a prompt. It now asks with a hidden "Paste an access token" prompt, and refuses to read the terminal when prompting is disabled. Piped stdin is read as before. Signed-off-by: bircni <bircni@icloud.com>