1
0
Fork 0
mirror of https://gitea.com/gitea/tea.git synced 2025-11-09 20:08:27 +01:00
tea/modules/context
Ross Golder 81481f8f9d Fix: Only prompt for login confirmation when no default login is set (#839)
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>
2025-10-27 17:52:04 +00:00
..
context.go Fix: Only prompt for login confirmation when no default login is set (#839) 2025-10-27 17:52:04 +00:00
context_test.go add test for matching logins (#820) 2025-10-03 18:05:51 +00:00