chore: Change password reset page path

This commit is contained in:
Ginger committed 2026-03-18 11:01:12 -04:00
1 parent 61a8d4ec10
commit 04e2c8a561
3 files changed
+4 -7

No files matched your search

+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(