mirror of
https://github.com/coder/coder.git
synced 2025-07-23 21:32:07 +00:00
Allow `coder login` to log into existing deployment if available. Update help and error messages to indicate that `coder login` is available as a command. Fixes #10925 Fixes #9551
This commit is contained in:
@ -119,7 +119,7 @@ func TestLogout(t *testing.T) {
|
||||
go func() {
|
||||
defer close(logoutChan)
|
||||
err = logout.Run()
|
||||
assert.ErrorContains(t, err, "You are not logged in. Try logging in using 'coder login <url>'.")
|
||||
assert.ErrorContains(t, err, "You are not logged in. Try logging in using 'coder login'.")
|
||||
}()
|
||||
|
||||
<-logoutChan
|
||||
|
Reference in New Issue
Block a user