Add 'm.login.token' authentication

This commit is contained in:
Timo Kösters
2021-02-07 17:38:45 +01:00
parent 3588dcd6d0
commit d49911c5e0
7 changed files with 150 additions and 29 deletions

View File

@@ -38,6 +38,7 @@ pub struct Config {
allow_encryption: bool,
#[serde(default = "false_fn")]
allow_federation: bool,
jwt_secret: Option<String>,
}
fn false_fn() -> bool {