You've already forked authentication-service
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:
committed by
Quentin Gliech
parent
999bab14e4
commit
630228d30c
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
3
tools/syn2mas/src/types/SynapseConfig.d.ts
vendored
3
tools/syn2mas/src/types/SynapseConfig.d.ts
vendored
@@ -50,4 +50,7 @@ export interface SynapseConfig {
|
||||
enable_registration?: boolean;
|
||||
user_consent?: {};
|
||||
enable_3pid_changes?: boolean;
|
||||
login_via_existing_session?: {
|
||||
enabled?: boolean;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user