1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-07-29 22:01:14 +03:00

Working legacy login endpoint

This commit is contained in:
Quentin Gliech
2022-05-12 18:47:13 +02:00
parent 1ebdd0b731
commit 1aff98bdb3
14 changed files with 615 additions and 25 deletions

View File

@ -192,6 +192,8 @@ impl Options {
let static_files = mas_static_files::service(&config.http.web_root);
let matrix_config = config.matrix.clone();
// Explicitely the config to properly zeroize secret keys
drop(config);
@ -214,6 +216,7 @@ impl Options {
&encrypter,
&mailer,
&url_builder,
&matrix_config,
)
.fallback(static_files)
.layer(ServerLayer::default());