Skip to content

Commit 6be0a5f

Browse files
stephentoubCopilot
andcommitted
Fix Rust CI after review updates
Allow inert use_logged_in_user(false) on external transports so shared E2E client options continue to work, while still rejecting true external auth requests. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 458dd30 commit 6be0a5f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rust/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -937,7 +937,7 @@ impl Client {
937937
.to_string(),
938938
));
939939
}
940-
if options.use_logged_in_user.is_some() {
940+
if options.use_logged_in_user == Some(true) {
941941
return Err(Error::InvalidConfig(
942942
"use_logged_in_user cannot be used with Transport::External \
943943
(external server manages its own auth)"

0 commit comments

Comments
 (0)