mirror of
https://github.com/dani-garcia/vaultwarden.wiki.git
synced 2026-11-04 14:36:49 +02:00
Don't return internal error details in bulk member responses; gate SSO token logging (#7777)
This commit is contained in:
1 parent
80d1859452
commit
be5d3ad907
2 files changed
+25
-6
No files matched your search
+5
-1
@@ -309,7 +309,11 @@ pub async fn exchange_code(
|
||||
user_name: user_name.clone(),
|
||||
};
|
||||
|
||||
debug!("Authenticated user {authenticated_user:?}");
|
||||
if CONFIG.sso_debug_tokens() {
|
||||
debug!("Authenticated user {authenticated_user:?}");
|
||||
} else {
|
||||
debug!("Authenticated user {identifier}");
|
||||
}
|
||||
sso_auth.auth_response = Some(authenticated_user.clone());
|
||||
sso_auth.updated_at = Utc::now().naive_utc();
|
||||
sso_auth.save(conn).await?;
|
||||
|
||||
Reference in new issue
Block a user