lib/kontena/cli/user/verify_command.rb in kontena-cli-0.14.4 vs lib/kontena/cli/user/verify_command.rb in kontena-cli-0.14.5
- old
+ new
@@ -5,12 +5,10 @@
parameter "TOKEN", "Kontena verify token"
option "--auth-provider-url", "URL", "Auth provider URL", default: "https://auth.kontena.io/"
def execute
- require_api_url
-
- params = {token: token}
+ params = { token: token }
begin
auth_client = Kontena::Client.new(auth_provider_url)
auth_client.post('user/email_confirm', params)
puts 'Account verified'.colorize(:green)
rescue Kontena::Errors::StandardError