You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-08-07 17:03:01 +03:00
Make sure we validate passwords & emails by the policy at all stages
Also refactors the way we get the policy engines in requests
This commit is contained in:
@@ -143,7 +143,7 @@ impl Options {
|
||||
// Listen for SIGHUP
|
||||
register_sighup(&templates)?;
|
||||
|
||||
let graphql_schema = mas_handlers::graphql_schema(&pool, conn);
|
||||
let graphql_schema = mas_handlers::graphql_schema(&pool, &policy_factory, conn);
|
||||
|
||||
let state = {
|
||||
let mut s = AppState {
|
||||
|
Reference in New Issue
Block a user