aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/util/auth_helper.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/util/auth_helper.rs')
-rw-r--r--crates/shirabe/src/util/auth_helper.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/shirabe/src/util/auth_helper.rs b/crates/shirabe/src/util/auth_helper.rs
index ab8769e8..ac7caa35 100644
--- a/crates/shirabe/src/util/auth_helper.rs
+++ b/crates/shirabe/src/util/auth_helper.rs
@@ -593,7 +593,7 @@ impl AuthHelper {
);
authentication_display_message = Some("Using SSL client certificate".to_string());
} else {
- let auth_str = base64_encode(&format!("{}:{}", username, password));
+ let auth_str = base64_encode(format!("{}:{}", username, password));
headers.push(PhpMixed::String(format!(
"Authorization: Basic {}",
auth_str,