lib/cli/commands/admin.rb in vmc-0.2.4 vs lib/cli/commands/admin.rb in vmc-0.2.6
- old
+ new
@@ -15,10 +15,10 @@
err "Need a password" unless password
display 'Creating New User: ', false
client.add_user(email, password)
display 'OK'.green
- # if we are not logged in, log in as the new user
+ # if we are not logged in for the current target, log in as the new user
return unless VMC::Cli::Config.auth_token.nil?
@options[:password] = password
cmd = User.new(@options)
cmd.login(email)
end