Schema adjustments
This commit is contained in:
@@ -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()),
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user