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
Tidy up upstream linking templates
This commit is contained in:
@@ -31,6 +31,10 @@ pub enum PostAuthAction {
|
||||
data: Ulid,
|
||||
},
|
||||
ChangePassword,
|
||||
LinkUpstream {
|
||||
#[serde_as(as = "DisplayFromStr")]
|
||||
id: Ulid,
|
||||
},
|
||||
}
|
||||
|
||||
impl PostAuthAction {
|
||||
@@ -49,6 +53,7 @@ impl PostAuthAction {
|
||||
Self::ContinueAuthorizationGrant { data } => ContinueAuthorizationGrant(*data).go(),
|
||||
Self::ContinueCompatSsoLogin { data } => CompatLoginSsoComplete::new(*data, None).go(),
|
||||
Self::ChangePassword => AccountPassword.go(),
|
||||
Self::LinkUpstream { id } => UpstreamOAuth2Link::new(*id).go(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user