mirror of
https://github.com/kovetskiy/mark.git
synced 2026-03-17 07:57:37 +08:00
When password is read from stdin (e.g. echo password | mark ...), the trailing newline was included in the password string, causing authentication to fail. Use strings.TrimSpace to strip it. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>