Skip to content

Commit dc18728

Browse files
committed
🔒 Use host as the generic SASL service name
1 parent becec4e commit dc18728

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/net/imap/sasl/protocol_adapters.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module ProtocolAdapters
88
# This API is experimental, and may change.
99
module Generic
1010
def command_name; "AUTHENTICATE" end
11-
def service; raise "Implement in subclass or module" end
11+
def service; "host" end
1212
def encode_ir(string) string.empty? ? "=" : encode(string) end
1313
def encode(string) [string].pack("m0") end
1414
def decode(string) string.unpack1("m0") end

0 commit comments

Comments
 (0)