lib/awskeyring_command.rb in awskeyring-1.8.0 vs lib/awskeyring_command.rb in awskeyring-1.8.1

- old
+ new

@@ -207,10 +207,10 @@ ) mfa = ask_check( existing: options[:mfa], message: I18n.t('message.mfa'), flags: 'optional', validator: Awskeyring::Validate.method(:mfa_arn) ) - Awskeyring::Awsapi.verify_cred(key: key, secret: secret, token: nil) unless options['no-remote'] + Awskeyring::Awsapi.verify_cred(key: key, secret: secret) unless options['no-remote'] Awskeyring.add_account( account: account, key: key, secret: secret, mfa: mfa