diff options
Diffstat (limited to 'lib/net')
-rw-r--r-- | lib/net/smtp.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/smtp.rb b/lib/net/smtp.rb index a84b7ba154..8c50e28dd0 100644 --- a/lib/net/smtp.rb +++ b/lib/net/smtp.rb @@ -769,7 +769,7 @@ module Net "auth_#{type.to_s.downcase}".intern end - def check_auth_args(user, secret) + def check_auth_args(user, secret, authtype = DEFAULT_AUTH_TYPE) unless user raise ArgumentError, 'SMTP-AUTH requested but missing user name' end |