diff options
Diffstat (limited to 'src/auth.rs')
-rw-r--r-- | src/auth.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/auth.rs b/src/auth.rs index b2c01e3..398fdda 100644 --- a/src/auth.rs +++ b/src/auth.rs @@ -16,7 +16,7 @@ impl From<BasicAuth> for BasicAuthParams { fn from(auth: BasicAuth) -> Self { Self { username: auth.user_id().to_string(), - password: auth.password().unwrap_or(&"".into()).to_string(), + password: auth.password().unwrap_or_default().to_string(), } } } |