You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-11-20 12:02:22 +03:00
All user_consent config must be disabled
This commit is contained in:
committed by
Quentin Gliech
parent
95bff53b4f
commit
debf5e0ac7
@@ -78,8 +78,8 @@ export async function advisor(argv?: string[]): Promise<void> {
|
|||||||
if (synapseConfig.enable_registration_captcha) {
|
if (synapseConfig.enable_registration_captcha) {
|
||||||
error("Synapse config has registration CAPTCHA enabled which isn't supported by MAS: https://github.com/matrix-org/matrix-authentication-service/issues/138");
|
error("Synapse config has registration CAPTCHA enabled which isn't supported by MAS: https://github.com/matrix-org/matrix-authentication-service/issues/138");
|
||||||
}
|
}
|
||||||
if (synapseConfig.user_consent?.require_at_registration) {
|
if (synapseConfig.user_consent) {
|
||||||
warn("Synapse config has user_consent.require_at_registration enabled which will need to be disabled after migration");
|
warn("Synapse config has user_consent configured which will need to be disabled after migration");
|
||||||
}
|
}
|
||||||
|
|
||||||
const usersWithoutEmailAddress = await count(synapse.count("*").from<SUser>("users").leftOuterJoin<SUserThreePid>("user_threepids", "users.name", "user_threepids.user_id").whereNull("user_threepids.user_id"));
|
const usersWithoutEmailAddress = await count(synapse.count("*").from<SUser>("users").leftOuterJoin<SUserThreePid>("user_threepids", "users.name", "user_threepids.user_id").whereNull("user_threepids.user_id"));
|
||||||
|
|||||||
1
tools/syn2mas/src/types/SynapseConfig.d.ts
vendored
1
tools/syn2mas/src/types/SynapseConfig.d.ts
vendored
@@ -48,4 +48,5 @@ export interface SynapseConfig {
|
|||||||
};
|
};
|
||||||
enable_registration_captcha?: boolean;
|
enable_registration_captcha?: boolean;
|
||||||
enable_registration?: boolean;
|
enable_registration?: boolean;
|
||||||
|
user_consent?: {};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user