Fix #163: fallback to single session login if OS keyring is not available

This commit is contained in:
Drew Weymouth
2023-05-13 09:24:13 -07:00
parent eab7842424
commit 4c6d6eb162
2 changed files with 5 additions and 7 deletions
+1
View File
@@ -40,6 +40,7 @@ func NewLoginDialog(servers []*backend.ServerConfig) *LoginDialog {
l.serverSelect.SetSelectedIndex(0)
editBtn := widget.NewButtonWithIcon("", theme.DocumentCreateIcon(), l.onEditServer)
l.passField = widget.NewPasswordEntry()
l.passField.OnSubmitted = func(_ string) { l.onSubmit() }
l.submitBtn = widget.NewButton("OK", l.onSubmit)
l.promptText = widget.NewRichTextWithText("")