do not validate passwords, just forward them onto postgres

dont get access controls

add a new cleartext authsecret instead
This commit is contained in:
Conrad Ludgate
2025-06-27 16:38:23 +01:00
committed by Conrad Ludgate
parent da6419a45a
commit 56cc55d24a
7 changed files with 21 additions and 6 deletions

View File

@@ -177,6 +177,7 @@ impl AuthInfo {
ComputeCredentialKeys::AuthKeys(AuthKeys::ScramSha256(auth_keys)) => {
Some(Auth::Scram(Box::new(auth_keys)))
}
ComputeCredentialKeys::Password(pw) => Some(Auth::Password(pw)),
ComputeCredentialKeys::JwtPayload(_) => None,
},
server_params: StartupMessageParams::default(),