mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-14 20:56:49 +00:00
chore: Change password reset page path
This commit is contained in:
3 files changed
+4
-7
No files matched your search
@@ -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