diff --git a/src/common.rs b/src/common.rs index 6434d8c64c34..5204f9e10e6b 100644 --- a/src/common.rs +++ b/src/common.rs @@ -219,7 +219,7 @@ impl Drop for SimpleCallOnReturn { } fn set_password(password: String) { - let mut hard_settings = HARD_SETTINGS.write().unwrap(); + let mut hard_settings = config::HARD_SETTINGS.write().unwrap(); hard_settings.insert("password".to_string(), password); }