You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crates/syn2mas/src/synapse_reader/checks.rs
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -44,15 +44,9 @@ pub enum CheckError {
44
44
#[error("Password scheme version '1' in the MAS config must have the same secret as the `pepper` value from Synapse, so that Synapse passwords can be imported and will be compatible.")]
45
45
PasswordSchemeWrongPepper,
46
46
47
-
#[error("Synapse database contains {num_guests} guests which aren't supported by MAS. See https://github.com/element-hq/matrix-authentication-service/issues/1445")]
48
-
GuestsInDatabase{num_guests:i64},
49
-
50
47
#[error("Guest support is enabled in the Synapse configuration. Guests aren't supported by MAS, but if you don't have any then you could disable the option. See https://github.com/element-hq/matrix-authentication-service/issues/1445")]
51
48
GuestsEnabled,
52
49
53
-
#[error("Synapse database contains {num_non_email_3pids} non-email 3PIDs (probably phone numbers), which are not supported by MAS.")]
"Synapse config has `enable_3pid_changes` explicitly enabled, which must be disabled or removed."
58
52
)]
@@ -94,6 +88,12 @@ pub enum CheckWarning {
94
88
95
89
#[error("Synapse config has a registration CAPTCHA enabled, but no CAPTCHA has been configured in MAS. You may wish to manually configure this.")]
96
90
ShouldPortRegistrationCaptcha,
91
+
92
+
#[error("Synapse database contains {num_guests} guests which will be migrated are not supported by MAS. See https://github.com/element-hq/matrix-authentication-service/issues/1445")]
93
+
GuestsInDatabase{num_guests:i64},
94
+
95
+
#[error("Synapse database contains {num_non_email_3pids} non-email 3PIDs (probably phone numbers), which will be migrated but are not supported by MAS.")]
0 commit comments