Skip to content

Commit

Permalink
fix: make external_auth pub in ConnectionSettings struct (#879)
Browse files Browse the repository at this point in the history
  • Loading branch information
silvestrpredko committed Jun 13, 2024
1 parent 819d4e3 commit 0767080
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions rumqttd/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- record client id for remote link's span
- session present flag in connack
- Make write method return the number of bytes written correctly everywhere
- `ConnectionSettings` can be manually created

### Security
- Implement constant-time password comparison in authentication logic
Expand Down
2 changes: 1 addition & 1 deletion rumqttd/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ pub struct ConnectionSettings {
pub max_inflight_count: usize,
pub auth: Option<HashMap<String, String>>,
#[serde(skip)]
external_auth: Option<AuthHandler>,
pub external_auth: Option<AuthHandler>,
#[serde(default)]
pub dynamic_filters: bool,
}
Expand Down

0 comments on commit 0767080

Please sign in to comment.