chore: News fragment

This commit is contained in:
Ginger
2026-04-06 12:53:41 -04:00
committed by Ellis Git
parent eccc878ee9
commit b7a6c819b7
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -0,0 +1 @@
Added support for requiring users to accept terms and conditions when registering.
+1 -1
View File
@@ -309,7 +309,6 @@ impl Service {
match auth {
| AuthData::Dummy(_) => Ok(AuthType::Dummy),
| AuthData::Terms(_) => Ok(AuthType::Terms),
| AuthData::EmailIdentity(EmailIdentity {
thirdparty_id_creds: ThirdpartyIdCredentials { client_secret, sid, .. },
..
@@ -456,6 +455,7 @@ impl Service {
})
}
},
| AuthData::Terms(_) => Ok(AuthType::Terms),
| _ => Err(StandardErrorBody {
kind: ErrorKind::Unrecognized,
message: "Unsupported stage type".into(),