Schema adjustments

This commit is contained in:
Maurus Decimus
2026-04-07 19:48:30 +02:00
parent fde37b670f
commit 83c79d1fd7
10 changed files with 16 additions and 35 deletions

View File

@@ -13,6 +13,7 @@ use registry::{schema::structs, types::map::Map};
pub async fn test() {
let config = structs::OidcDirectory {
description: "Test OIDC directory".to_string(),
issuer_url: "http://localhost:9080/realms/stalwart".to_string(),
claim_username: "preferred_username".to_string(),
claim_name: Some("name".to_string()),

View File

@@ -57,6 +57,7 @@ pub async fn test() {
}
let config = structs::SqlDirectory {
description: "Test SQL directory".to_string(),
query_login: concat!(
"SELECT name, secret, description, type FROM accounts ",
"WHERE name = $1 AND active = true"