You've already forked authentication-service
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:
committed by
reivilibre
parent
c83e052e7f
commit
48c4c34e88
@@ -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> {
|
||||
|
Reference in New Issue
Block a user