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

@@ -43,6 +43,8 @@ pub mod mgmt;
pub(crate) enum AuthSecret {
/// [SCRAM](crate::scram) authentication info.
Scram(scram::ServerSecret),
/// Do not authenticate, just take the cleartext password and give it to postgres.
Cleartext,
}
#[derive(Default)]