Skip to content
Permalink
Browse files
Don't trim password.
  • Loading branch information
geomacy committed Jul 4, 2017
1 parent 4d6b4fd commit 749057bb61a6bb409a7f81cd584a17a1d831d2cb
Showing 1 changed file with 1 addition and 2 deletions.
@@ -100,8 +100,7 @@ func (cmd *Login) Run(scope scope.Scope, c *cli.Context) {
error_handler.ErrorExit(err)
}
fmt.Printf("\n")
password := string(bytePassword)
cmd.network.BrooklynPass = strings.TrimSpace(password)
cmd.network.BrooklynPass = string(bytePassword)
}

if cmd.config.Map == nil {

0 comments on commit 749057b

Please sign in to comment.