Skip to content

Commit

Permalink
cli/authorize: reload the configuration after we write the file
Browse files Browse the repository at this point in the history
fixes #41
  • Loading branch information
pearkes committed Jul 10, 2013
1 parent c39ec05 commit b22afa6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/tugboat/middleware/ask_for_credentials.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ def call(env)

# Write the config file.
env['config'].create_config_file(client_key, api_key, ssh_key_path, ssh_user, ssh_port)
env['config'].reload!

@app.call(env)
end
Expand Down

0 comments on commit b22afa6

Please sign in to comment.