1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-11-20 12:02:22 +03:00

Switch the policies to a violation list based approach

This allows policies to give proper feedback on form fields
This commit is contained in:
Quentin Gliech
2022-06-03 11:59:56 +02:00
parent 88c2625dc0
commit 7c8893e596
9 changed files with 185 additions and 64 deletions

View File

@@ -22,15 +22,15 @@ use serde_with::serde_as;
use super::ConfigurationSection;
fn default_client_registration_endpoint() -> String {
"client_registration/allow".to_string()
"client_registration/violation".to_string()
}
fn default_login_endpoint() -> String {
"login/allow".to_string()
"login/violation".to_string()
}
fn default_register_endpoint() -> String {
"register/allow".to_string()
"register/violation".to_string()
}
/// Application secrets