Skip to content

Commit f814d75

Browse files
zeroshadeamoeba
andcommitted
Update cmd/dbc/auth.go
Co-authored-by: Bryce Mecum <petridish@gmail.com>
1 parent 8fd2695 commit f814d75

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cmd/dbc/auth.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,10 +206,8 @@ func (m loginModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
206206
if auth.IsColumnarPrivateRegistry((*url.URL)(&msg.cred.RegistryURL)) {
207207
return auth.FetchColumnarLicense(&msg.cred)
208208
}
209-
return nil
209+
return tea.Quit()
210210
})
211-
case nil:
212-
return m, tea.Quit
213211
}
214212

215213
base, cmd := m.baseModel.Update(msg)

0 commit comments

Comments
 (0)