Add: Credential user log message.
This commit is contained in:
parent
5cd29d7100
commit
3b133961f5
@ -109,6 +109,7 @@ async fn main() -> anyhow::Result<()> {
|
|||||||
let creds = InMemoryStore::new();
|
let creds = InMemoryStore::new();
|
||||||
for c in cfg.credentials.iter() {
|
for c in cfg.credentials.iter() {
|
||||||
creds.insert(&c.username, &c.password);
|
creds.insert(&c.username, &c.password);
|
||||||
|
info!("credential loaded user={} len={}", c.username, c.password.len());
|
||||||
}
|
}
|
||||||
|
|
||||||
let auth = AuthManager::new(creds.clone(), &cfg.auth);
|
let auth = AuthManager::new(creds.clone(), &cfg.auth);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user