Skip to content

Commit

Permalink
Return empty SASL challenge rather than "" (closes #1064)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdecimus committed Jan 11, 2025
1 parent 3612d5f commit 5af0fb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/imap/src/op/authenticate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ impl<T: SessionStream> Session<T> {
tokens: vec![receiver::Token::Argument(args.mechanism.into_bytes())],
};
self.receiver.state = receiver::State::Argument { last_ch: b' ' };
self.write_bytes(b"+ \"\"\r\n".to_vec()).await
self.write_bytes(b"+ \r\n".to_vec()).await
}
}
_ => Err(trc::AuthEvent::Error
Expand Down

0 comments on commit 5af0fb4

Please sign in to comment.