mirror of
https://github.com/getnora-io/nora.git
synced 2026-04-12 23:10:32 +00:00
v0.2.29: upstream auth, remove dead code, version bump
- Remove unused DockerAuth::fetch_with_auth() method - Fix basic_auth_header docstring - Bump to v0.2.29
This commit is contained in:
@@ -9,7 +9,6 @@ use std::fs;
|
||||
pub use crate::secrets::SecretsConfig;
|
||||
|
||||
/// Encode "user:pass" into a Basic Auth header value, e.g. "Basic dXNlcjpwYXNz".
|
||||
/// Returns None if input is None.
|
||||
pub fn basic_auth_header(credentials: &str) -> String {
|
||||
format!("Basic {}", STANDARD.encode(credentials))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user