Minor change

This commit is contained in:
Ev Kontsevoy 2016-12-15 08:21:42 -08:00
parent 893b39c2de
commit a4ff1117c0

View file

@ -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)