chore: Change password reset page path

This commit is contained in:
Ginger
2026-03-03 13:41:33 -05:00
parent f11943b956
commit 5716c36b47
3 changed files with 4 additions and 7 deletions
+2 -4
View File
@@ -6,6 +6,7 @@ use axum::{
response::{Html, IntoResponse, Response},
routing::get,
};
use conduwuit_service::password_reset::PASSWORD_RESET_PATH;
use serde::Deserialize;
use validator::Validate;
@@ -53,10 +54,7 @@ form! {
}
pub(crate) fn build() -> Router<crate::State> {
Router::new().route(
"/_continuwuity/password_reset",
get(get_password_reset).post(post_password_reset),
)
Router::new().route(PASSWORD_RESET_PATH, get(get_password_reset).post(post_password_reset))
}
async fn password_reset_form(