Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions core/src/services/http/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ impl HttpBuilder {
self
}

/// set password for http backend
/// set username for http backend
///
/// default: no password
/// default: no username
pub fn username(&mut self, username: &str) -> &mut Self {
if !username.is_empty() {
self.config.username = Some(username.to_owned());
Expand Down
4 changes: 2 additions & 2 deletions core/src/services/webdav/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ impl WebdavBuilder {
self
}

/// set the password for Webdav
/// set the username for Webdav
///
/// default: no password
/// default: no username
pub fn username(&mut self, username: &str) -> &mut Self {
if !username.is_empty() {
self.config.username = Some(username.to_owned());
Expand Down