1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-08-07 17:03:01 +03:00

Remove the server-side rendered account recovery 'finish' form

Replace with the React frontend form
This commit is contained in:
Olivier 'reivilibre
2024-07-25 23:03:28 +01:00
committed by reivilibre
parent c83e052e7f
commit 48c4c34e88
5 changed files with 22 additions and 276 deletions

View File

@@ -808,7 +808,8 @@ impl Route for AccountRecoveryProgress {
}
}
/// `GET|POST /recover/complete?ticket=:ticket`
/// `GET /account/password/recovery?ticket=:ticket`
/// Rendered by the React frontend
#[derive(Default, Serialize, Deserialize, Debug, Clone)]
pub struct AccountRecoveryFinish {
ticket: String,
@@ -825,7 +826,7 @@ impl Route for AccountRecoveryFinish {
type Query = AccountRecoveryFinish;
fn route() -> &'static str {
"/recover/complete"
"/account/password/recovery"
}
fn query(&self) -> Option<&Self::Query> {