1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2026-01-12 22:51:25 +03:00

Add test for login_via_existing_session config option

This commit is contained in:
Hugh Nimmo-Smith
2023-10-05 14:34:05 +01:00
committed by Quentin Gliech
parent 999bab14e4
commit 630228d30c
2 changed files with 7 additions and 0 deletions

View File

@@ -145,4 +145,8 @@ export async function advisor(argv?: string[]): Promise<void> {
if (synapseConfig.enable_3pid_changes === true) {
warn("Synapse config has enable_3pid_changes enabled which must to be disabled or removed after migration");
}
if (synapseConfig.login_via_existing_session?.enabled === true) {
warn("Synapse config has login_via_existing_session enabled which must to be disabled or removed after migration");
}
}

View File

@@ -50,4 +50,7 @@ export interface SynapseConfig {
enable_registration?: boolean;
user_consent?: {};
enable_3pid_changes?: boolean;
login_via_existing_session?: {
enabled?: boolean;
}
}