Browse Source

Implement SASL/OAUTHBEARER support

Fix typo
Mike Kaminski 7 years ago
parent
commit
6ea761527c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      config.go

+ 1 - 1
config.go

@@ -474,7 +474,7 @@ func (c *Config) Validate() error {
 			}
 		} else if c.Net.SASL.Mechanism == SASLTypeOAuth {
 			if c.Net.SASL.TokenProvider == nil {
-				return ConfigurationError("A AccessTokenProvider instance must be provided to Net.SASL.User.TokenProvider")
+				return ConfigurationError("An AccessTokenProvider instance must be provided to Net.SASL.User.TokenProvider")
 			}
 			if !c.Net.SASL.Handshake {
 				Logger.Println("A SASL handshake is required for SASL/OAUTHBEARER, ignoring disabled handshake config")