mirror of
https://github.com/gravitational/teleport
synced 2024-10-20 17:23:22 +00:00
Minor change
This commit is contained in:
parent
893b39c2de
commit
a4ff1117c0
|
@ -195,10 +195,8 @@ func onLogin(cf *CLIConf) {
|
|||
}
|
||||
if err := tc.Login(); err != nil {
|
||||
utils.FatalError(err)
|
||||
} else {
|
||||
// successful login? update the profile then:
|
||||
tc.SaveProfile("")
|
||||
}
|
||||
tc.SaveProfile("")
|
||||
|
||||
if tc.SiteName != "" {
|
||||
fmt.Printf("\nYou are now logged into %s as %s\n", tc.SiteName, tc.Username)
|
||||
|
|
Loading…
Reference in a new issue