aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJake Howard <[email protected]>2021-03-28 10:59:49 +0100
committerJake Howard <[email protected]>2021-03-28 10:59:49 +0100
commit81fa33ebb5089e6d9a610622dfdfd4551658f081 (patch)
treece7bd5420f73158d42657bb2f3e06bfca812d361
parente8aa3bc066eb769ea9e9633125614907cbc1dbe2 (diff)
downloadvaultwarden-81fa33ebb5089e6d9a610622dfdfd4551658f081.tar.gz
vaultwarden-81fa33ebb5089e6d9a610622dfdfd4551658f081.zip
Remove unnecessary reference
-rw-r--r--src/api/admin.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/admin.rs b/src/api/admin.rs
index e1ced1d7..d484407a 100644
--- a/src/api/admin.rs
+++ b/src/api/admin.rs
@@ -564,7 +564,7 @@ fn diagnostics(_token: AdminToken, ip_header: IpHeader, conn: DbConn) -> ApiResu
"running_within_docker": running_within_docker,
"has_http_access": has_http_access,
"ip_header_exists": &ip_header.0.is_some(),
- "ip_header_match": ip_header_name == &CONFIG.ip_header(),
+ "ip_header_match": ip_header_name == CONFIG.ip_header(),
"ip_header_name": ip_header_name,
"ip_header_config": &CONFIG.ip_header(),
"uses_proxy": uses_proxy,