mirror of
https://gitea.com/gitea/tea.git
synced 2025-10-30 00:35:27 +01:00
When running tea commands outside of a repository context, tea falls back to using the default login but always prompted for confirmation, even when a default was set. This fix only prompts when no default is configured. Reviewed-on: https://gitea.com/gitea/tea/pulls/839 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Ross Golder <ross@golder.org> Co-committed-by: Ross Golder <ross@golder.org>