You've already forked authentication-service
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user