fix(login): forward token submit

This commit is contained in:
ayn2op 2026-07-09 15:38:28 -04:00
parent 391f3b974c
commit 84c6615956

View file

@ -51,7 +51,7 @@ func (m *Model) Update(msg tview.Msg) tview.Cmd {
return m.showErrorDialog(msg.err)
case tview.FormSubmitMsg:
if !m.HasLayer(errorLayerName) {
return nil
break
}
if msg.ButtonIndex == 0 {
return setClipboard(m.errorDialogText)