mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
chore: Change password reset page path
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user