mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
chore: News fragment
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
Added support for requiring users to accept terms and conditions when registering.
|
||||||
@@ -309,7 +309,6 @@ impl Service {
|
|||||||
|
|
||||||
match auth {
|
match auth {
|
||||||
| AuthData::Dummy(_) => Ok(AuthType::Dummy),
|
| AuthData::Dummy(_) => Ok(AuthType::Dummy),
|
||||||
| AuthData::Terms(_) => Ok(AuthType::Terms),
|
|
||||||
| AuthData::EmailIdentity(EmailIdentity {
|
| AuthData::EmailIdentity(EmailIdentity {
|
||||||
thirdparty_id_creds: ThirdpartyIdCredentials { client_secret, sid, .. },
|
thirdparty_id_creds: ThirdpartyIdCredentials { client_secret, sid, .. },
|
||||||
..
|
..
|
||||||
@@ -456,6 +455,7 @@ impl Service {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
| AuthData::Terms(_) => Ok(AuthType::Terms),
|
||||||
| _ => Err(StandardErrorBody {
|
| _ => Err(StandardErrorBody {
|
||||||
kind: ErrorKind::Unrecognized,
|
kind: ErrorKind::Unrecognized,
|
||||||
message: "Unsupported stage type".into(),
|
message: "Unsupported stage type".into(),
|
||||||
|
|||||||
Reference in New Issue
Block a user